26 #ifndef __THREADING__MUTEX_H__INCL__
27 #define __THREADING__MUTEX_H__INCL__
68 CRITICAL_SECTION mCriticalSection;
Mutex()
Primary contructor.
bool TryLock()
Attempts to lock the mutex.
Basic interface of a lockable object.
A lock for a Lockable object.
Common wrapper for platform-specific mutexes.
void Lock()
Locks the mutex.
~Mutex()
Destructor, releases allocated resources.
pthread_mutex_t mMutex
A pthread mutex used for mutex implementation using pthread library.
void Unlock()
Unlocks the mutex.
Lock< Mutex > MutexLock
Convenience typedef for Mutex's lock.