Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::thread::Mutex Class Reference

#include <Mutex.hpp>

Inheritance diagram for indri::thread::Mutex:

indri::thread::Lockable List of all members.

Public Member Functions

 Mutex ()
 ~Mutex ()
void lock ()
bool tryLock ()
void unlock ()

Private Member Functions

 Mutex (Mutex &m)

Private Attributes

pthread_mutex_t _mutex


class ConditionVariable

Constructor & Destructor Documentation

indri::thread::Mutex::Mutex Mutex m  )  [inline, explicit, private]

indri::thread::Mutex::Mutex  )  [inline]

indri::thread::Mutex::~Mutex  )  [inline]

Member Function Documentation

void indri::thread::Mutex::lock  )  [inline, virtual]

Implements indri::thread::Lockable.

bool indri::thread::Mutex::tryLock  )  [inline]

void indri::thread::Mutex::unlock  )  [inline, virtual]

Implements indri::thread::Lockable.

Friends And Related Function Documentation

friend class ConditionVariable [friend]

Member Data Documentation

pthread_mutex_t indri::thread::Mutex::_mutex [private]

The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4