Overview: 6.8 System Services: Timers

Up: GEOS SDK TechDocs | Up | Prev: 6.7 Print Spooler and Printing | Next: 6.9 Communications

The GEOS kernel allows applications and libraries to set up different types of timers that can be used for various purposes. When a timer ticks, it calls a routine specified by the geode that initiated it. The different types of timers that can be set up include

one-shot
A timer that executes the specified routine once.
continual
A timer that calls the routine once every given time period.
message
Either a one-shot or continual timer that sends a specified message rather than call a specified routine.
millisecond
A one-shot timer with millisecond accuracy.
sleep
A timer that puts the calling thread to sleep for a given length of time.
semaphore
A timer that provides a "time-out" for a given semaphore queue (if the thread does not gain the semaphore in the given length of time, it is removed from the queue).

Up: GEOS SDK TechDocs | Up | Prev: 6.7 Print Spooler and Printing | Next: 6.9 Communications