#include <dthread.h>
Public Member Functions | |
| CondVar (Mutex *m=NULL) | |
| ~CondVar () | |
| bool | unlock () |
| bool | trylock () |
| bool | lock () |
| bool | signal () |
| bool | broadcast () |
| bool | wait () |
Private Attributes | |
| pthread_cond_t | cond |
| Mutex * | mutex |
| bool | created_mutex |
Definition at line 93 of file dthread.h.
| CondVar::CondVar | ( | Mutex * | m = NULL |
) |
Definition at line 92 of file dthread-win.C.
References created_mutex, and mutex.
| CondVar::~CondVar | ( | ) |
Definition at line 107 of file dthread-win.C.
References created_mutex, and mutex.
| bool CondVar::broadcast | ( | ) |
Definition at line 141 of file dthread-win.C.
| bool CondVar::lock | ( | ) |
Definition at line 123 of file dthread-win.C.
References Mutex::lock(), and mutex.
Referenced by ScopeLock::ScopeLock().
| bool CondVar::signal | ( | ) |
Definition at line 128 of file dthread-win.C.
| bool CondVar::trylock | ( | ) |
Definition at line 161 of file dthread-unix.C.
References mutex, and Mutex::trylock().
| bool CondVar::unlock | ( | ) |
Definition at line 118 of file dthread-win.C.
References mutex, and Mutex::unlock().
Referenced by ScopeLock::unlock().
| bool CondVar::wait | ( | ) |
Definition at line 161 of file dthread-win.C.
References Mutex::mutex, and mutex.
pthread_cond_t CondVar::cond [private] |
bool CondVar::created_mutex [private] |
Definition at line 105 of file dthread.h.
Referenced by CondVar(), and ~CondVar().
Mutex* CondVar::mutex [private] |
1.6.1