OSGetSemaphoreCount

C Specification

#include <revolution/os.h>
s32  OSGetSemaphoreCount( OSSemaphore* sem );

Arguments

sem Pointer to a semaphore.

Return Values

Returns the current semaphore count.

Description

Returns the current semaphore count. Because the value is not guaranteed to be valid when the function returns, the returned value should be used just as an estimate for program debugging.

See Also

Thread Functions, Thread Synchronization Functions

Revision History

2006/03/01 Initial version.


CONFIDENTIAL