#include <revolution/os.h>
void OSSleepThread(OSThreadQueue* queue);
|
Pointer to the thread queue into which the current thread will be inserted. |
None.
Suspends the current thread and inserts it into the specified thread queue. The thread will remain in sleep until OSWakeupThread() is called on this queue.
This function may put the current thread to sleep. For precautions when calling similar functions, refer to Interrupts and Callback Functions.
Thread Synchronization, Thread Synchronization Functions, OSInitThreadQueue, OSWakeupThread, Interrupts and Callback Functions
2007/09/25 Added information on the sleeping status of threads.
2006/03/01 Initial version.
CONFIDENTIAL