iopc::CondVar Class Reference
[iopccommon]

Condition variable synchronization primitive. More...

#include <condVar.h>

List of all members.

Public Member Functions

void lock () throw (IopcRsrcLackException, IopcDeadlockException)
void unlock () throw (IopcIncorrectUsageException)
void signal () throw ()
void wait () throw ()
void wait (const TimeStamp &ts) throw ()
 Wait for signal for limited time.


Detailed Description

Condition variable synchronization primitive.

Encapsulated pthread primitive


Member Function Documentation

void iopc::CondVar::lock (  )  throw (IopcRsrcLackException, IopcDeadlockException)

Locks mutex.

void iopc::CondVar::unlock (  )  throw (IopcIncorrectUsageException)

Unlocks mutex.

void iopc::CondVar::signal (  )  throw ()

Send signal to sleepers.

void iopc::CondVar::wait (  )  throw ()

Wait for signal.

void iopc::CondVar::wait ( const TimeStamp ts  )  throw ()

Wait for signal for limited time.

Parameters:
ts Absolute time specifying sleep limit.


The documentation for this class was generated from the following files:

Generated on Tue Apr 14 16:46:31 2009 for IOPC 2 by  doxygen 1.5.6