13#ifndef ML_WAIT_CONDITION_H 
   14#define ML_WAIT_CONDITION_H 
   56    _condition.wait(lock);
 
 
   65    return _condition.timed_wait(lock, 
duration);
 
 
   73    _condition.notify_all();
 
 
   81    _condition.notify_one();
 
 
   86  boost::condition _condition;
 
 
WaitCondition implements a wait condition for thread synchronization.
 
void wait(Lock &lock)
Waits for the condition given a locked non-recursive mutex.
 
void notifyOne()
Notifies one waiting thread.
 
void notifyAll()
Notifies all waiting threads.
 
bool wait(Lock &lock, duration_type duration)
Waits for the condition given a locked non-recursive mutex.
 
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
 
boost::mutex::scoped_lock Lock
Defines a lock for locking a non-recursive mutex.