csl::SynchPthread Class Reference

#include <ThreadUtilities.h>

Inheritance diagram for csl::SynchPthread:


List of all members.

Public Member Functions

 SynchPthread ()
 ~SynchPthread ()
int lock ()
int unlock ()
int condWait ()
int condSignal ()

Public Attributes

pthread_mutex_t mMutex
pthread_cond_t mCond

Detailed Description

PThread version of Sync

Constructor & Destructor Documentation

SynchPthread::SynchPthread (  ) 

References mCond, and mMutex.

SynchPthread::~SynchPthread (  ) 

References mCond, and mMutex.

Member Function Documentation

int SynchPthread::lock (  )  [virtual]


Implements csl::Synch.

References mMutex.

Referenced by Controller::get_data(), Controller::get_position(), and Controller::set_data().

int SynchPthread::unlock (  )  [virtual]

int SynchPthread::condWait (  )  [virtual]

Implements csl::Synch.

References mCond, and mMutex.

int SynchPthread::condSignal (  )  [virtual]

Implements csl::Synch.

References mCond.

Member Data Documentation

pthread_mutex_t csl::SynchPthread::mMutex

pthread_cond_t csl::SynchPthread::mCond

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

Generated on Thu Sep 17 23:14:18 2009 for CSL by  doxygen 1.5.8