Public Member Functions | |
Event (bool manualReset, bool initialState) | |
~Event () | |
void | set () |
void | reset () |
void | wait () |
An event is signalled with set(). If the new event is a manual reset event, it remains signalled until it is reset with reset(). An auto reset event remains signalled until a single thread has waited for it, at which time the event handle is automatically reset to unsignalled.
|
Creates a new event
|
|
Destroy the event |
|
Resets the event to the unsignalled state |
|
Sets the event to the signalled state. If the event is a manual reset event, it remains signalled until it is reset with Reset(). An auto reset event remains signalled until a single thread has waited for it, at which time the event is automatically reset to unsignalled. |
|
Wait for the event to be set This method immediatly returns if the event is already set |