reset_event


bool reset_event(handle event)

This function sets the state of the semaphore to non-signalled.

Parameters

handle event

The handle of the event semaphore whose state is being set.

Results

bool

true The function succeeded.
false The call failed.

Notes

The process must have access event_access::modify_state.

The state of an event semaphore remains non-signalled until it is explicitly set to signalled via the function

The non-signalled state blocks the execution of threads waiting upon the semaphore.

This function is mainly used for manual reset event semaphores.