Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Mutex Class Reference

#include <Mutex.h>

List of all members.

Public Methods

 Mutex ()
 ~Mutex ()
void lock ()
void unlock ()
pthread_mutex_t * getMutex ()

Protected Attributes

pthread_mutex_t m_mutex


Constructor & Destructor Documentation

Mutex::Mutex [inline]
 

Definition at line 9 of file Mutex.h.

Mutex::~Mutex [inline]
 

Definition at line 13 of file Mutex.h.


Member Function Documentation

pthread_mutex_t* Mutex::getMutex [inline]
 

Definition at line 25 of file Mutex.h.

Referenced by Condition::timedWait(), and Condition::wait().

void Mutex::lock [inline]
 

Definition at line 17 of file Mutex.h.

Referenced by Guard::Guard(), Catcher::addNode(), LinkLayerInterface::connect(), LinkLayerInterface::pollAllSocketsImpl(), Timer::timerThreadImpl(), LinkLayerInterface::~LinkLayerInterface(), ServiceTable::~ServiceTable(), and Timer::~Timer().

void Mutex::unlock [inline]
 

Definition at line 21 of file Mutex.h.

Referenced by Catcher::addNode(), LinkLayerInterface::connect(), LinkLayerInterface::pollAllSocketsImpl(), Timer::timerThreadImpl(), Guard::~Guard(), LinkLayerInterface::~LinkLayerInterface(), ServiceTable::~ServiceTable(), and Timer::~Timer().


Member Data Documentation

pthread_mutex_t Mutex::m_mutex [protected]
 

Definition at line 30 of file Mutex.h.


The documentation for this class was generated from the following file:
Generated at Thu Jul 11 13:31:57 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001