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

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

Implements an OS specific mutex This mutex class is not supposed to be reentrant, but it is supposed to have an trylock() feature at OS level. More...

#include <wefts_os_base.h>

Inheritance diagram for Wefts::OSMutexBase:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void lock ()=0
 Locks the mutex.

virtual bool trylock ()=0
 Try to lock the mutex.

virtual void unlock ()=0
 Unlocks the mutex.


Protected Methods

 OSMutexBase ()
 Initializes the internal data of the mutex.


Detailed Description

Implements an OS specific mutex This mutex class is not supposed to be reentrant, but it is supposed to have an trylock() feature at OS level.

See also:
OS Threading Abstraction (and Independence) Layer


Constructor & Destructor Documentation

Wefts::OSMutexBase::OSMutexBase   [inline, protected]
 

Initializes the internal data of the mutex.


Member Function Documentation

virtual void Wefts::OSMutexBase::lock   [inline, pure virtual]
 

Locks the mutex.

Implemented in Wefts::OSMutexPthread, and Wefts::OSMutexWindows.

virtual bool Wefts::OSMutexBase::trylock   [inline, pure virtual]
 

Try to lock the mutex.

Implemented in Wefts::OSMutexPthread, and Wefts::OSMutexWindows.

virtual void Wefts::OSMutexBase::unlock   [inline, pure virtual]
 

Unlocks the mutex.

Implemented in Wefts::OSMutexPthread, and Wefts::OSMutexWindows.


The documentation for this class was generated from the following file:
Generated on Mon Dec 22 04:12:38 2003 for Wefts by doxygen1.2.18