|
Time routinesALLEGRO_TIMEOUT
Represent a timeout value. The size of the structure is known so can be statically allocated. The contents are private. al_current_time
Return the number of seconds since the Allegro library was initialised. The return value is undefined if Allegro is uninitialised. The resolution depends on the used driver, but typically can be in the order of microseconds. al_init_timeout
Set timeout value of some number of seconds after the function call. al_rest
Waits for the specified number seconds. This tells the system to pause the current thread for the given amount of time. With some operating systems, the accuracy can be in the order of 10ms. That is, even
might pause for something like 10ms. Also see the section |
Last updated: 2009-07-05 05:34:35 UTC