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

mutex Class Reference

#include <mutex.h>

Inheritance diagram for mutex:

lock_list< T > lock_map< S, T > rtsocket List of all members.

Public Member Functions

 mutex ()
virtual ~mutex ()
void lock ()
bool trylock ()
void unlock ()
pthread_mutex_t * get_pthread_mutex ()
bool locked () const

Private Attributes

bool m_locked
pthread_mutex_t m_mutex

Constructor & Destructor Documentation

mutex::mutex  )  [inline]
 

virtual mutex::~mutex  )  [inline, virtual]
 


Member Function Documentation

pthread_mutex_t* mutex::get_pthread_mutex  )  [inline]
 

void mutex::lock  )  [inline]
 

bool mutex::locked  )  const [inline]
 

bool mutex::trylock  )  [inline]
 

void mutex::unlock  )  [inline]
 


Member Data Documentation

bool mutex::m_locked [private]
 

pthread_mutex_t mutex::m_mutex [private]
 


The documentation for this class was generated from the following file:
Generated on Wed May 24 23:03:25 2006 for RTSync by  doxygen 1.4.4