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