#include <xmltooling/util/Threads.h>
Public Member Functions | |
virtual int | wait (Mutex *lock)=0 |
Waits for a condition variable using the supplied mutex as a queue. | |
virtual int | timedwait (Mutex *lock, int delay_seconds)=0 |
Waits for a condition variable using the supplied mutex as a queue, but only for a certain time limit. | |
virtual int | signal ()=0 |
Signal a single thread to wake up if a condition changes. | |
virtual int | broadcast ()=0 |
Signal all threads to wake up if a condition changes. | |
Static Public Member Functions | |
static CondWait * | create () |
Creates a new condition variable. |
|
Signal all threads to wake up if a condition changes.
|
|
Creates a new condition variable.
|
|
Signal a single thread to wake up if a condition changes.
|
|
Waits for a condition variable using the supplied mutex as a queue, but only for a certain time limit.
|
|
Waits for a condition variable using the supplied mutex as a queue.
|