OSSignalSemaphore

C Specification

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

Arguments

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. 

See Also

Thread Functions, Thread Synchronization Functions

Revision History

03/01/2006 Initial version.