Public Member Functions | Private Member Functions | Private Attributes | Friends

UT_Mutex Class Reference

#include <ut_mutex.h>

List of all members.

Public Member Functions

 UT_Mutex ()
 ~UT_Mutex ()
void lock ()
void unlock ()

Private Member Functions

 UT_Mutex (const UT_Mutex &other)
UT_Mutexoperator= (const UT_Mutex &other)

Private Attributes

UT_MutexImplm_pimpl

Friends

class UT_MutexImpl
class UT_MutexAcquirer

Detailed Description

Cross-platform mutex class, with brain-dead simple lock and unlock semantics. No trylock() or any other "wierdo" calls because they're fascist!

UT_MutexImpl has the same signature as UT_Mutex except that it's implemented in platform-specific code


Constructor & Destructor Documentation

UT_Mutex::UT_Mutex (  ) 
UT_Mutex::~UT_Mutex (  ) 

References m_pimpl.

UT_Mutex::UT_Mutex ( const UT_Mutex other  )  [private]

Member Function Documentation

void UT_Mutex::lock (  ) 

References UT_MutexImpl::lock(), and m_pimpl.

UT_Mutex& UT_Mutex::operator= ( const UT_Mutex other  )  [private]
void UT_Mutex::unlock (  ) 

References m_pimpl, and UT_MutexImpl::unlock().


Friends And Related Function Documentation

friend class UT_MutexAcquirer [friend]
friend class UT_MutexImpl [friend]

Member Data Documentation

Referenced by lock(), unlock(), and ~UT_Mutex().


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