CEvent::PulseEvent

BOOL PulseEvent( );

Return Value

Nonzero if the function was successful; otherwise 0.

Remarks

Sets the state of the event to signaled (available), releases any waiting threads, and resets it to nonsignaled (unavailable) automatically. If the event is manual, all waiting threads are released, the event is set to nonsignaled, and PulseEvent returns. If the event is automatic, a single thread is released, the event is set to nonsignaled, and PulseEvent returns.

If no threads are waiting, or no threads can be released immediately, PulseEvent sets the state of the event to nonsignaled and returns.

CEvent OverviewClass MembersHierarchy Chart