OSSignalEventAll

Syntax

#include <cafe/os.h>

void OSSignalEventAll(OSEvent* event);

Parameters

event OSEvent to signal.

Return Values

None.

Description

For the specified OSEvent, wake up all waiting threads.

If the OSEvent is in Manual Mode, OSSignalEvent will signal the specified OSEvent. The signaled OSEvent will maintain its state until OSResetEvent is called.

If the OSEvent is in Auto Mode and there is waiting thread for the specified OSEvent, the state of OSEvent after OSSignalEventAll will be automatically reset and become non-signaled. If there is no waiting thread for the specified OSEvent, the OSEvent will become signaled.

Do Not Call From

None.

See Also

OSInitEvent
OSSignalEvent
OSWaitEvent
OSWaitEventWithTimeout
OSResetEvent

Revision History

2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup pass.
2011/03/02 Initial version.


CONFIDENTIAL