#include <Condition.hh>
Public Member Functions | |
clCondition () | |
Constructor; creates and initializes the condition variable. | |
~clCondition () | |
Destructor; destroys the condition variable. | |
bool | Wait (pthread_mutex_t *pthmCond) |
Wait for condition to be signalled. | |
bool | Wait (pthread_mutex_t *pthmCond, int iCondTO) |
void | Notify () |
Signal condition variable. | |
void | NotifyAll () |
Signal condition variable. | |
Private Attributes | |
pthread_cond_t | pthcCond |
Definition at line 40 of file Condition.hh.
|
Constructor; creates and initializes the condition variable.
Definition at line 47 of file Condition.hh. References pthcCond. |
|
Destructor; destroys the condition variable.
Definition at line 51 of file Condition.hh. References pthcCond. |
|
Wait for condition to be signalled.
Definition at line 61 of file Condition.hh. References pthcCond. |
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 79 of file Condition.hh. References pthcCond. |
|
Signal condition variable. Mutex can be locked to achieve desired scheduling behaviour. Only single waiting thread is woken up. Definition at line 102 of file Condition.hh. References pthcCond. |
|
Signal condition variable. Mutex can be locked to achieve desired scheduling behaviour. All waiting threads are woken up. Definition at line 109 of file Condition.hh. References pthcCond. |
|
Definition at line 42 of file Condition.hh. Referenced by clCondition(), Notify(), NotifyAll(), Wait(), and ~clCondition(). |