casa::sdfiller::PCondition Class Reference

#include <PThreadUtil.h>

List of all members.

Public Member Functions

 PCondition (Mutex *mutex)
virtual ~PCondition ()
int lock ()
int unlock ()
int wait ()
int signal ()

Private Attributes

pthread_mutex_t * mutex_
pthread_cond_t cond_

Detailed Description

Definition at line 59 of file PThreadUtil.h.


Constructor & Destructor Documentation

casa::sdfiller::PCondition::PCondition ( Mutex mutex  )  [inline]

Definition at line 61 of file PThreadUtil.h.

References cond_, and THROW_IF.

virtual casa::sdfiller::PCondition::~PCondition (  )  [inline, virtual]

Definition at line 68 of file PThreadUtil.h.

References cond_, and THROW_IF.


Member Function Documentation

int casa::sdfiller::PCondition::lock (  )  [inline]

cout << "PCondition::lock()" << endl;

Definition at line 73 of file PThreadUtil.h.

References mutex_.

int casa::sdfiller::PCondition::signal (  )  [inline]
int casa::sdfiller::PCondition::unlock (  )  [inline]

cout << "PCondition::unlock()" << endl;

Definition at line 78 of file PThreadUtil.h.

References mutex_.

int casa::sdfiller::PCondition::wait (  )  [inline]

Member Data Documentation

pthread_cond_t casa::sdfiller::PCondition::cond_ [private]

Definition at line 98 of file PThreadUtil.h.

Referenced by PCondition(), signal(), wait(), and ~PCondition().

pthread_mutex_t* casa::sdfiller::PCondition::mutex_ [private]

Definition at line 97 of file PThreadUtil.h.

Referenced by lock(), unlock(), and wait().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1