|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
49 for (
int i = 0; i < w; i++) {
69 std::mutex stateMutex;
75 mPriv(new
Private(autoResetAfterWait))
A class for thread synchronization and mutual exclusion.
Event(bool autoResetAfterWait=true)
Constructor.
void signal()
Put the event in a signaled state.
void wait()
Decrement the counter, even if we must wait to do that.
void wait()
Wait for the event to be signaled.
void post()
Increment the counter.
virtual ~Event()
Destructor.
void reset()
Put the event in a reset state.
void signal(bool after=true)