7 #include <condition_variable>
13 using std::condition_variable_any;
Threading condition variable implementation.
void broadcast()
wake ups all waiting threads on this condition, associated mutex should protect broadcast
void signal()
wake ups a waiting thread on this condition, associated mutex should protect signal
~Condition()
Destructor, removes condition variable.
condition_variable_any stlCondition
void wait(Mutex &mutex)
Blocks current thread until signaled/broadcasted, associated mutex should protect wait.
#define FORBID_CLASS_COPY(CLASS)