#include <revolution/os.h> void OSSleepTicks ( OSTime ticks ); #define OSSleepMilliseconds( msec ) OSSleepTicks( OSMillisecondsToTicks(msec) )
| msec | The time (in milliseconds) to pause the current thread. |
|---|
None.
Pauses the current thread and returns it to an executable state after the number of milliseconds specified in msec has elapsed. The timing with which the thread will actually restart will vary based on the state of other threads and interrupt processes.
Thread Functions, Thread Synchronization Functions, OSSleepTicks, OSSleepSeconds, OSSleepMicroseconds, OSSleepNanoseconds
2006/08/11 Initial version.
CONFIDENTIAL