18 explicit event (
bool manual,
bool signaled =
false,
const std::string&
name = std::string ());
40class manual_event :
public event
43 explicit manual_event (
bool signaled =
false,
const std::string&
name = std::string ())
51 explicit auto_event (
bool signaled =
false,
const std::string&
name = std::string ())
bool is_signaled() override
Check if event is signaled.
Definition event.h:61
void signal()
Set event to signaled state.
Definition event.h:21
void pulse()
Pulse event so that only one waiting thread is released.
Definition event.h:27
event(bool manual, bool signaled=false, const std::string &name=std::string())
Constructor for event objects.
Definition event.cpp:26
void reset()
Set event to non-signaled state.
Definition event.h:33
HANDLE handle() const
Return OS handle of this object.
Definition syncbase.h:53
syncbase()
Default constructor.
Definition syncbase.cpp:37
virtual const std::string & name() const
Return object's name.
Definition syncbase.h:59
virtual bool is_signaled()
Try to wait on the object.
Definition syncbase.h:152
Definition of mlib::syncbase class.