#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. | |
| virtual int xmltooling::CondWait::broadcast | ( | ) | [pure virtual] |
Signal all threads to wake up if a condition changes.
| static CondWait* xmltooling::CondWait::create | ( | ) | [static] |
Creates a new condition variable.
| virtual int xmltooling::CondWait::signal | ( | ) | [pure virtual] |
Signal a single thread to wake up if a condition changes.
| virtual int xmltooling::CondWait::timedwait | ( | Mutex * | lock, | |
| int | delay_seconds | |||
| ) | [pure virtual] |
Waits for a condition variable using the supplied mutex as a queue, but only for a certain time limit.
| lock | mutex to queue on | |
| delay_seconds | maximum time to wait before waking up |
| virtual int xmltooling::CondWait::wait | ( | Mutex * | lock | ) | [pure virtual] |
Waits for a condition variable using the supplied mutex as a queue.
| lock | mutex to queue on |
1.4.7