#include <Sync.h>

Public Member Functions | |
| Condition (Mutex &mutex) | |
| ~Condition () | |
| bool | IsOk () const |
| int | Wait () |
| int | Signal () |
| int | Broadcast () |
Private Attributes | |
| Mutex & | m_mutex |
| pthread_cond_t | m_cond |
| bool | m_isOk |
| ~Condition | ( | ) |
Definition at line 129 of file Sync.C.
References COMMPI_Initialized(), m_cond, and m_isOk.

|
inline |
Definition at line 53 of file Sync.h.
References Mutex::IsOk(), m_isOk, and m_mutex.
Referenced by Semaphore::Semaphore().


| int Signal | ( | ) |
Definition at line 150 of file Sync.C.
References m_cond.
Referenced by Semaphore::Post().

| int Wait | ( | ) |
Definition at line 140 of file Sync.C.
References m_cond, Mutex::m_mutex, and m_mutex.
Referenced by Semaphore::Wait().

|
private |
Definition at line 61 of file Sync.h.
Referenced by Broadcast(), Condition(), Signal(), Wait(), and ~Condition().
|
private |
Definition at line 62 of file Sync.h.
Referenced by Condition(), IsOk(), and ~Condition().