|
noexcept |
Sets the specified event to the signalled state, releasing appropriate number of threads that are waiting for the signal, and resets the event back to the nonsignalled state.
[in] | pEvent | is an identifier of the event created by chsv_event_init. |
For a manual-reset event object, all waiting threads are released. The function then resets the state of the event to nonsignalled and returns.
For an auto-reset event object, the function resets the state to nonsignalled and returns after releasing a single waiting thread, even if multiple threads are waiting.
If no threads are waiting the chsv_event_pulse function simply sets the state of the event to nonsignalled and returns.
The function does not correspond to any of the C11 functions but partially corresponds to Win32 PulseEvent function.