Calls SetEvent() on destruction at latest.
More...
#include "util/win/scoped_set_event.h"
Public Member Functions | |
| ScopedSetEvent (HANDLE event) | |
| ScopedSetEvent (const ScopedSetEvent &)=delete | |
| ScopedSetEvent & | operator= (const ScopedSetEvent &)=delete |
| bool | Set () |
Calls SetEvent() immediately. | |
Calls SetEvent() on destruction at latest.
Does not assume ownership of the event handle. Use ScopedKernelHANDLE for ownership.
| bool crashpad::ScopedSetEvent::Set | ( | ) |
Calls SetEvent() immediately.
SetEvent() will not be called on destruction.
true on success, false on failure with a message logged.