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

Wefts::OSMutexPthread Class Reference
[OS Threading Level Abstraction.]

#include <wefts_os_pthread.h>

Inheritance diagram for Wefts::OSMutexPthread:

Inheritance graph
[legend]
Collaboration diagram for Wefts::OSMutexPthread:

Collaboration graph
[legend]
List of all members.

Public Methods

 OSMutexPthread () throw ( InitError )
 ~OSMutexPthread ()
virtual void lock ()
 Locks the mutex.

virtual bool trylock ()
 Try to lock the mutex.

virtual void unlock ()
 Unlocks the mutex.


Protected Attributes

pthread_mutex_t m_mutex

Friends

class OSConditionPthread

Constructor & Destructor Documentation

Wefts::OSMutexPthread::OSMutexPthread   throw ( InitError ) [inline]
 

Wefts::OSMutexPthread::~OSMutexPthread   [inline]
 


Member Function Documentation

virtual void Wefts::OSMutexPthread::lock   [inline, virtual]
 

Locks the mutex.

Implements Wefts::OSMutexBase.

virtual bool Wefts::OSMutexPthread::trylock   [inline, virtual]
 

Try to lock the mutex.

Implements Wefts::OSMutexBase.

virtual void Wefts::OSMutexPthread::unlock   [inline, virtual]
 

Unlocks the mutex.

Implements Wefts::OSMutexBase.


Friends And Related Function Documentation

friend class OSConditionPthread [friend]
 


Member Data Documentation

pthread_mutex_t Wefts::OSMutexPthread::m_mutex [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 18 05:53:46 2003 for Wefts by doxygen1.2.18