#include <dthread.h>
Public Member Functions | |
| Mutex (bool recursive=false) | |
| ~Mutex () | |
| bool | trylock () |
| bool | lock () |
| bool | unlock () |
Private Attributes | |
| pthread_mutex_t | mutex |
Friends | |
| class | CondVar |
Definition at line 75 of file dthread.h.
| Mutex::Mutex | ( | bool | recursive = false |
) |
Definition at line 64 of file dthread-win.C.
References mutex.
| Mutex::~Mutex | ( | ) |
Definition at line 69 of file dthread-win.C.
References mutex.
| bool Mutex::lock | ( | ) |
Definition at line 74 of file dthread-win.C.
References mutex.
Referenced by CondVar::lock(), and ScopeLock::ScopeLock().
| bool Mutex::trylock | ( | ) |
| bool Mutex::unlock | ( | ) |
Definition at line 82 of file dthread-win.C.
References fprintf, and mutex.
Referenced by ScopeLock::unlock(), and CondVar::unlock().
pthread_mutex_t Mutex::mutex [private] |
1.6.1