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

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

This class implement an os-dependant condition. More...

#include <wefts_os_pthread.h>

Inheritance diagram for Wefts::OSConditionPthread:

Inheritance graph
Collaboration diagram for Wefts::OSConditionPthread:

Collaboration graph
List of all members.

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

Detailed Description

This class implement an os-dependant condition.

This is basically a wrapper for pthread.

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 Sat Mar 13 21:05:44 2004 for Wefts by doxygen 1.3.5