Share via


event::~event Destructor

Destroys an event.

~event();

Remarks

It is expected that there are no threads waiting on the event when the destructor runs. Allowing the event to destruct with threads still waiting on it results in undefined behavior.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

event Class (Concurrency Runtime)