OSSleepThread

Syntax

#include <cafe/os.h>

void OSSleepThread (OSThreadQueue* queue);

Parameters

queue Pointer to the thread queue into which the current thread will be inserted.

Return Values

None.

Description

Pauses and inserts the current thread into the thread queue that queue specifies. The thread will remain paused until the OSWakeupThread function that takes queue as an argument is called. A sleeping thread is not the same as a suspended thread.

Do Not Call From

Callbacks Do not call this function from any callback function.

See Also

OSInitThreadQueue
OSWakeupThread

Revision History

2013-05-08 Automated cleanup pass.
2012-08-01 Cleanup pass.
2010-08-30 Initial version.


CONFIDENTIAL