#include <revolution/os.h> s32 OSWaitSemaphore( OSSemaphore* sem );
sem |
Pointer to a semaphore. |
|---|
The previous semaphore count.
Decrements the specified semaphore count. If the semaphore count is less than zero, the calling thread blocks until it can decrement the semaphore count.
Thread Functions, Thread Synchronization Functions
2006/03/01 Initial version.
CONFIDENTIAL