39 condition.
wait (lock, [
this] {
return triggered ==
true; });
44 [
this] { return triggered == true; }))
WaitableEvent(bool manualReset=false) noexcept
Creates a WaitableEvent object.
void signal() const
Wakes up any threads that are currently waiting on this object.
void reset() const
Resets the event to an unsignalled state.
bool wait(double timeOutMilliseconds=-1.0) const
Suspends the calling thread until the event has been signalled.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...