OSSignalSemaphore

Syntax

#include <cafe/os.h>

s32  OSSignalSemaphore ( OSSemaphore* sem );

Parameters

sem Pointer to a semaphore.

Return Values

Previous semaphore count.

Description

Increments the specified semaphore count. If any threads are blocked while waiting for a semaphore, the highest-priority threads will return from the OSWaitSemaphore function.

Do Not Call From

None.

See Also

OSInitSemaphore
OSGetSemaphoreCount
OSTryWaitSemaphore
OSWaitSemaphore

Revision History

2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup pass.
2010/08/30 Initial version.


CONFIDENTIAL