Public Member Functions | Private Member Functions | Private Attributes

UT_MutexImpl Class Reference

#include <ut_mutexImpl.h>

List of all members.

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_MutexImploperator= (const UT_MutexImpl &other)
 UT_MutexImpl (const UT_MutexImpl &other)
UT_MutexImploperator= (const UT_MutexImpl &other)

Private Attributes

GMutex * mMutex
GThread * mLocker
int iLockCount
CRITICAL_SECTION m_cs

Detailed Description

Unix GThread impl of a mutex class

Win32 implementation of a mutex class


Constructor & Destructor Documentation

UT_MutexImpl::UT_MutexImpl (  )  [inline]

References mMutex, and UT_ASSERT.

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]

Member Function Documentation

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]

Member Data Documentation

int UT_MutexImpl::iLockCount [private]

Referenced by lock(), and unlock().

CRITICAL_SECTION UT_MutexImpl::m_cs [private]
GThread* UT_MutexImpl::mLocker [private]

Referenced by lock(), and unlock().

GMutex* UT_MutexImpl::mMutex [private]

The documentation for this class was generated from the following files: