42 #ifndef _DWMCONDITIONVARIABLE_HH_ 43 #define _DWMCONDITIONVARIABLE_HH_ 111 #endif // _DWMCONDITIONVARIABLE_HH_ Dwm::Pthread::Mutex class definition.
This class just encapsulates a condition variable (from the pthread library), with default attributes...
Definition: DwmConditionVariable.hh:59
bool Signal()
Unblocks one thread waiting for the condition variable.
bool Broadcast()
Unblocks all threads waiting for the condition variable.
Definition: DwmBZ2IO.hh:67
~ConditionVariable()
Destructor, destroys the condition variable.
bool TimedWait(Mutex &mutex, const struct timespec *abstime)
Atomically blocks the calling thread waiting on the condition variable, and unblocks the mutex specif...
ConditionVariable()
Constructor, initializes the condition variable.
This class just encapsulates a pthread_mutex_t (from the pthread library).
Definition: DwmMutex.hh:67
bool Wait(Mutex &mutex)
Atomically blocks the current thread waiting on the condition variable, and unblocks the mutex specif...