#include <revolution/os.h> s32 OSResumeThread(OSThread* thread);
| thread | Pointer to thread to resume. |
|---|
The previous suspend counter of the thread. The thread is suspended if the counter is greater than zero.
Places the specified thread in executable status (decrement).
The operating system maintains a counter of the number of times the OSSuspendThread function has been called. Calling the OSResumeThread function will decrement that counter. While the counter is greater than zero, the thread will not be scheduled to execute.
Thread Functions, Thread Synchronization Functions, OSIsThreadSuspended, OSSuspendThread
2006/03/01 Initial version.
CONFIDENTIAL