16 explicit event (
bool manual,
bool signaled =
false,
const std::string&
name = std::string ());
41 explicit manual_event (
bool signaled =
false,
const std::string&
name = std::string ())
49 explicit auto_event (
bool signaled =
false,
const std::string&
name = std::string ())
Event objects that reset automatically after a successful wait.
Definition event.h:47
bool is_signaled() override
Check if event is signaled.
Definition event.h:59
Events have only two states: signaled and not signaled.
Definition event.h:14
void signal()
Set event to signaled state.
Definition event.h:19
void pulse()
Pulse event so that only one waiting thread is released.
Definition event.h:25
void reset()
Set event to non-signaled state.
Definition event.h:31
Event objects that need manual reset.
Definition event.h:39
Base class for all named synchronization objects.
Definition syncbase.h:27
HANDLE handle() const
Return OS handle of this object.
Definition syncbase.h:54
virtual const std::string & name() const
Return object's name.
Definition syncbase.h:60
virtual bool is_signaled()
Try to wait on the object.
Definition syncbase.h:153
syncbase class definition.