20 #include <boost/noncopyable.hpp>
21 #include <boost/thread/condition_variable.hpp>
22 #include <boost/thread/mutex.hpp>
39 void waitToBeNotified();
48 unsigned long long lookFor;
49 unsigned long long cur;
50 boost::condition_variable _condition;
60 typedef unsigned long long When;
82 boost::condition_variable _condition;
void awaitBeyondNow()
a bit faster than waitFor( now() )
Utility functions for parsing numbers from strings.
Definition: compare_numbers.h:20
establishes a synchronization point between threads.
Definition: synchronization.h:56
void waitFor(When)
awaits the next notifyAll() call by another thread.
unsigned nWaiting() const
indicates how many threads are waiting for a notify.
Definition: synchronization.h:76
Definition: synchronization.h:32
void notifyAll(When)
may be called multiple times.