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

#include <wefts_os_pthread.h>

Inheritance diagram for Wefts::OSConditionPthread:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

This class implement an os-dependant condition.

This is basically a wrapper for pthread.


Public Member Functions

 OSConditionPthread () throw ( InitError )
 ~OSConditionPthread ()
void signal ()
void signalOne ()
bool wait (OSMutexBase &mtx, CleanupItem &guard)
 Waiting for a condition (giving off an already held mutex.

bool timedWait (OSMutexBase &mtx, long seconds, long nanoseconds, CleanupItem &guard)
 Timed wait.


Private Attributes

pthread_cond_t m_cond


Constructor & Destructor Documentation

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

Wefts::OSConditionPthread::~OSConditionPthread  )  [inline]
 


Member Function Documentation

void Wefts::OSConditionPthread::signal  )  [inline, virtual]
 

Implements Wefts::OSConditionBase.

void Wefts::OSConditionPthread::signalOne  )  [inline, virtual]
 

Implements Wefts::OSConditionBase.

bool Wefts::OSConditionPthread::timedWait OSMutexBase mtx,
long  seconds,
long  nanoseconds,
CleanupItem guard
[inline, virtual]
 

Timed wait.

Implements Wefts::OSConditionBase.

bool Wefts::OSConditionPthread::wait OSMutexBase mtx,
CleanupItem guard
[inline, virtual]
 

Waiting for a condition (giving off an already held mutex.

Implements Wefts::OSConditionBase.


Member Data Documentation

pthread_cond_t Wefts::OSConditionPthread::m_cond [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Oct 5 14:57:02 2004 for Wefts by doxygen 1.3.7