Public Member Functions | |
void | DoLock () |
void | DoLock () |
bool | IsLockedByAnotherThread (Mutex *pmutex) |
bool | IsLockedByAnotherThread (Mutex *pmutex) |
bool | IsSignaled () const |
MutexImpl (bool recursive=1) | |
MutexImpl (Mutex *pmutex, bool recursive=1) | |
bool | TryLock () |
bool | TryLock () |
void | Unlock (Mutex *pmutex) |
void | Unlock (Mutex *pmutex) |
~MutexImpl () | |
~MutexImpl () | |
Private Attributes | |
HANDLE | hMutexOrSemaphore |
volatile unsigned | LockCount |
unsigned | LockCount |
pthread_t | LockedBy |
bool | Recursive |
pthread_mutex_t | SMutex |
Friends | |
class | WaitConditionImpl |
Definition at line 33 of file OVR_ThreadsPthread.cpp.
OVR::MutexImpl::MutexImpl | ( | Mutex * | pmutex, |
bool | recursive = 1 |
||
) |
Definition at line 61 of file OVR_ThreadsPthread.cpp.
Definition at line 81 of file OVR_ThreadsPthread.cpp.
OVR::MutexImpl::MutexImpl | ( | bool | recursive = 1 | ) |
Definition at line 55 of file OVR_ThreadsWinAPI.cpp.
void OVR::MutexImpl::DoLock | ( | ) |
void OVR::MutexImpl::DoLock | ( | ) |
Definition at line 88 of file OVR_ThreadsPthread.cpp.
bool OVR::MutexImpl::IsLockedByAnotherThread | ( | Mutex * | pmutex | ) |
bool OVR::MutexImpl::IsLockedByAnotherThread | ( | Mutex * | pmutex | ) |
Definition at line 118 of file OVR_ThreadsPthread.cpp.
bool OVR::MutexImpl::IsSignaled | ( | ) | const |
Definition at line 128 of file OVR_ThreadsPthread.cpp.
bool OVR::MutexImpl::TryLock | ( | ) |
bool OVR::MutexImpl::TryLock | ( | ) |
Definition at line 95 of file OVR_ThreadsPthread.cpp.
void OVR::MutexImpl::Unlock | ( | Mutex * | pmutex | ) |
void OVR::MutexImpl::Unlock | ( | Mutex * | pmutex | ) |
Definition at line 107 of file OVR_ThreadsPthread.cpp.
WaitConditionImpl [friend] |
Definition at line 41 of file OVR_ThreadsPthread.cpp.
HANDLE OVR::MutexImpl::hMutexOrSemaphore [private] |
Definition at line 35 of file OVR_ThreadsWinAPI.cpp.
volatile unsigned OVR::MutexImpl::LockCount [private] |
Definition at line 37 of file OVR_ThreadsWinAPI.cpp.
unsigned OVR::MutexImpl::LockCount [private] |
Definition at line 38 of file OVR_ThreadsPthread.cpp.
pthread_t OVR::MutexImpl::LockedBy [private] |
Definition at line 39 of file OVR_ThreadsPthread.cpp.
bool OVR::MutexImpl::Recursive [private] |
Definition at line 37 of file OVR_ThreadsPthread.cpp.
pthread_mutex_t OVR::MutexImpl::SMutex [private] |
Definition at line 36 of file OVR_ThreadsPthread.cpp.