#include <revolution/os.h>
void OSInitSemaphore( OSSemaphore* sem, s32 count );
|
Pointer to a semaphore. |
|
Initial semaphore count. |
None.
Initializes semaphores. count specifies the initial value of the semaphore count. Although count can be a negative value, it should usually be ≥ 0.
Thread Functions, Thread Synchronization Functions
03/01/2006 Initial version.