The timer may be set up to go off once, repeat a N times, or repeat indefinately. The timer may be run in another thread. A timed entry blocks, waiting for a timer return, then sends the action message to the target. A timed entry may be run in it's own thread, providing an asyncronous interupt, or run, providing a thread safe blocking timer. Of course, when run in it's own thread, the call back will be run in the timer's thread.
Time is measured in milliseconds.
The time in milliseconds to sleep before messaging target. Returns the timer's action. This message may be sent from any thread. Initializes a timer instance with the given values. Returns the mach port that the instance waits on.