Event.initialize

void initialize(bool manualReset, bool initialState)

Initializes an event object. Does nothing if the event is already initialized.

Parameters

manualResetthe state of the event is not reset automatically after resuming waiting clients
initialStateinitial state of the signal