20#ifndef _OPENTHREADS_CONDITION_
21#define _OPENTHREADS_CONDITION_
56 virtual int wait(
Mutex *mutex,
unsigned long int ms);
#define OPENTHREAD_EXPORT_DIRECTIVE
Definition Exports:20
This class provides an object-oriented thread condition interface.
Definition Condition:32
virtual int wait(Mutex *mutex)
Wait on a mutex.
virtual int signal()
Signal a SINGLE thread to wake if it's waiting.
virtual int broadcast()
Wake all threads waiting on this condition.
virtual ~Condition()
Destructor.
virtual int wait(Mutex *mutex, unsigned long int ms)
Wait on a mutex for a given amount of time (ms)
This class provides an object-oriented thread mutex interface.
Definition Mutex:31