Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

ps
Class CMutex

   in ThreadUtil.h
Direct Known Subclasses:
CLocker

class CMutex

A Mutual Exclusion lock.


Field Summary
 pthread_mutex_t m_Mutex
          
 
Constructor Summary
inline CMutex()
          
inline ~CMutex()
          
 
Method Summary
 inline void Lock()
          Atomically wait for the mutex to become unlocked, then lock it.
 inline void Unlock()
          Unlock the mutex.
 

Field Detail

m_Mutex

public pthread_mutex_t m_Mutex;


Constructor Detail

CMutex

public inline CMutex();

~CMutex

public inline ~CMutex();


Method Detail

Lock

public inline void Lock();
Atomically wait for the mutex to become unlocked, then lock it.

Unlock

public inline void Unlock();
Unlock the mutex.

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD