Bike-X
0.8
|
Public Member Functions | |
MutexImpl (Mutex *pmutex, bool recursive=1) | |
~MutexImpl () | |
void | DoLock () |
bool | TryLock () |
void | Unlock (Mutex *pmutex) |
bool | IsLockedByAnotherThread (Mutex *pmutex) |
bool | IsSignaled () const |
Private Attributes | |
pthread_mutex_t | SMutex |
bool | Recursive |
unsigned | LockCount |
pthread_t | LockedBy |
Friends | |
class | WaitConditionImpl |
Definition at line 49 of file OVR_ThreadsPthread.cpp.
OVR::MutexImpl::MutexImpl | ( | Mutex * | pmutex, |
bool | recursive = 1 |
||
) |
Definition at line 77 of file OVR_ThreadsPthread.cpp.
OVR::MutexImpl::~MutexImpl | ( | ) |
Definition at line 98 of file OVR_ThreadsPthread.cpp.
void OVR::MutexImpl::DoLock | ( | ) |
Definition at line 105 of file OVR_ThreadsPthread.cpp.
bool OVR::MutexImpl::IsLockedByAnotherThread | ( | Mutex * | pmutex | ) |
Definition at line 137 of file OVR_ThreadsPthread.cpp.
bool OVR::MutexImpl::IsSignaled | ( | ) | const |
Definition at line 148 of file OVR_ThreadsPthread.cpp.
bool OVR::MutexImpl::TryLock | ( | ) |
Definition at line 113 of file OVR_ThreadsPthread.cpp.
void OVR::MutexImpl::Unlock | ( | Mutex * | pmutex | ) |
Definition at line 125 of file OVR_ThreadsPthread.cpp.
|
friend |
Definition at line 57 of file OVR_ThreadsPthread.cpp.
|
private |
Definition at line 54 of file OVR_ThreadsPthread.cpp.
|
private |
Definition at line 55 of file OVR_ThreadsPthread.cpp.
|
private |
Definition at line 53 of file OVR_ThreadsPthread.cpp.
|
private |
Definition at line 52 of file OVR_ThreadsPthread.cpp.