#include <cafe/os.h> s32 OSGetSemaphoreCount( OSSemaphore* sem );
sem | Pointer to a semaphore. |
---|
Returns the current semaphore count.
Gets the current semaphore count. Because the value is not guaranteed to be valid when the function returns, the returned value should just be used as an estimate for program debugging.
None.
OSInitSemaphore
OSSignalSemaphore
OSTryWaitSemaphore
OSWaitSemaphore
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup pass.
2010/08/30 Initial version.
CONFIDENTIAL