Create a new waitable event. If |automatic_reset| is true (1) then the event
state is automatically reset to un-signaled after a single waiting thread
has been released; otherwise, the state remains signaled until reset() is
called manually. If |initially_signaled| is true (1) then the event will
start in the signaled state.
Create a new waitable event. If |automatic_reset| is true (1) then the event state is automatically reset to un-signaled after a single waiting thread has been released; otherwise, the state remains signaled until reset() is called manually. If |initially_signaled| is true (1) then the event will start in the signaled state.