#include <ut_mutexImpl.h>
Public Member Functions | |
UT_MutexImpl () | |
~UT_MutexImpl () | |
void | lock () |
void | unlock () |
UT_MutexImpl () | |
~UT_MutexImpl () | |
void | lock () |
void | unlock () |
Private Member Functions | |
UT_MutexImpl (const UT_MutexImpl &other) | |
UT_MutexImpl & | operator= (const UT_MutexImpl &other) |
UT_MutexImpl (const UT_MutexImpl &other) | |
UT_MutexImpl & | operator= (const UT_MutexImpl &other) |
Private Attributes | |
GMutex * | mMutex |
GThread * | mLocker |
int | iLockCount |
CRITICAL_SECTION | m_cs |
Unix GThread impl of a mutex class
Win32 implementation of a mutex class
UT_MutexImpl::~UT_MutexImpl | ( | ) | [inline] |
References mMutex.
UT_MutexImpl::UT_MutexImpl | ( | const UT_MutexImpl & | other | ) | [private] |
UT_MutexImpl::UT_MutexImpl | ( | ) | [inline] |
UT_MutexImpl::~UT_MutexImpl | ( | ) | [inline] |
UT_MutexImpl::UT_MutexImpl | ( | const UT_MutexImpl & | other | ) | [private] |
void UT_MutexImpl::lock | ( | ) | [inline] |
References iLockCount, mLocker, and mMutex.
Referenced by UT_Mutex::lock().
void UT_MutexImpl::lock | ( | ) | [inline] |
UT_MutexImpl& UT_MutexImpl::operator= | ( | const UT_MutexImpl & | other | ) | [private] |
UT_MutexImpl& UT_MutexImpl::operator= | ( | const UT_MutexImpl & | other | ) | [private] |
void UT_MutexImpl::unlock | ( | ) | [inline] |
References iLockCount, mLocker, mMutex, and UT_ASSERT.
Referenced by UT_Mutex::unlock().
void UT_MutexImpl::unlock | ( | ) | [inline] |
int UT_MutexImpl::iLockCount [private] |
CRITICAL_SECTION UT_MutexImpl::m_cs [private] |
GThread* UT_MutexImpl::mLocker [private] |
GMutex* UT_MutexImpl::mMutex [private] |
Referenced by lock(), unlock(), UT_MutexImpl(), and ~UT_MutexImpl().