OSSignalSemaphore

Syntax

#include <revolution/os.h>

s32  OSSignalSemaphore( OSSemaphore* sem );

Arguments

sem Pointer to a semaphore.

Return Values

The previous semaphore count.

Description

Increments the specified semaphore count. If any threads are currently blocked waiting for the semaphore, then one of the highest priority threads will return from its call to the OSWaitSemaphore function.

See Also

Thread Functions, Thread Synchronization Functions

Revision History

2006/03/01 Initial version.


CONFIDENTIAL