A processor has an interface portion and an interior environment. The
interface portion comprises: at least one port arranged to receive a
current time value; a first register associated with the port and
arranged to store a trigger time value; and comparison logic configured
to detect whether the current time value matches the trigger time value
and, provided that said match is detected, to transfer data between the
port and an external environment and alter a ready signal to indicate the
transfer. The internal environment comprises: an execution unit for
transferring data between the at least one port and the internal
environment; and a thread scheduler for scheduling a plurality of threads
for execution by the execution unit, each thread comprising a sequence of
instructions. The scheduling includes scheduling one or more of said
threads for execution in dependence on the ready signal.