set_event


bool set_event(handle event)

This function sets the state of the semaphore to signalled.

Parameters

handle event

The handle of the event semaphore being set.

result

bool

true The function succeeded.
false The call failed.

Notes

The process must have access event_access::modify_state.

A manual reset event semaphore remains signalled until a call is made to the function reset_event.

The system sets an automatic reset semaphore to the non-signalled state when the first thread waiting upon the object is released.