Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_Mutex Class Reference

#include <mutex.h>

List of all members.

Public Member Functions

 CL_Mutex ()
 Construction:.
 ~CL_Mutex ()
void lock ()
 Operations:.
bool try_lock ()
void unlock ()

Private Attributes

pthread_mutex_t handle
 Implementation:.


Constructor & Destructor Documentation

CL_Mutex::CL_Mutex  ) 
 

Construction:.

Definition at line 49 of file mutex.cpp.

References handle, and pthread_mutexattr_setkind_np().

CL_Mutex::~CL_Mutex  ) 
 

Definition at line 70 of file mutex.cpp.

References handle.


Member Function Documentation

void CL_Mutex::lock  ) 
 

Operations:.

Definition at line 86 of file mutex.cpp.

References handle.

Referenced by CL_MutexSection::lock().

bool CL_Mutex::try_lock  ) 
 

Definition at line 95 of file mutex.cpp.

References TEXT.

Referenced by CL_MutexSection::try_lock().

void CL_Mutex::unlock  ) 
 

Definition at line 106 of file mutex.cpp.

References handle.

Referenced by CL_MutexSection::unlock().


Member Data Documentation

pthread_mutex_t CL_Mutex::handle [private]
 

Implementation:.

Definition at line 63 of file mutex.h.

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


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:17 2005 for npcore by  doxygen 1.4.1