nn::os::LightEvent::Signal Member Function

Syntax

#include <nn/os.h>

void Signal();

Parameters

None.

Return Values

None.

Description

Sets the flag.

Wakes up any threads that are waiting for the flag to be set.

For an automatically resetting event, only one thread is woken up, even if multiple threads are waiting. The thread that is woken up is the one with the highest thread priority. If there is a thread that is waiting, its flag is cleared at the same time that it is woken up. If no threads are waiting, the flag remains set.

For a manually resetting event, all waiting threads are woken up. Their flags remain set.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL