#include <revolution/os.h> void OSInitSemaphore( OSSemaphore* sem, s32 count );
sem |
Pointer to a semaphore. |
|---|---|
| count | Initial semaphore count. |
None.
Initializes semaphores. The initial semaphore count is specified by count. Be aware that although count can be negative, it must be greater than or equal to zero.
Thread Functions, Thread Synchronization Functions
2006/03/01 Initial version.
CONFIDENTIAL