CSL
6.0
|
PThread version of Sync. More...
#include <ThreadUtilities.h>
Public Member Functions | |
SynchPthread () | |
~SynchPthread () | |
int | lock () |
int | unlock () |
int | condWait () |
int | condSignal () |
Static Public Member Functions | |
static Synch * | MakeSynch () |
Factory method Utilities. More... | |
Public Attributes | |
pthread_mutex_t | mMutex |
pthread_cond_t | mCond |
PThread version of Sync.
Definition at line 76 of file ThreadUtilities.h.
SynchPthread::SynchPthread | ( | ) |
Definition at line 60 of file ThreadUtilities.cpp.
SynchPthread::~SynchPthread | ( | ) |
Definition at line 65 of file ThreadUtilities.cpp.
|
virtual |
Implements csl::Synch.
Definition at line 72 of file ThreadUtilities.cpp.
References mMutex.
Referenced by Controller::get_data(), Controller::get_position(), and Controller::set_data().
|
virtual |
Implements csl::Synch.
Definition at line 74 of file ThreadUtilities.cpp.
References mMutex.
Referenced by Controller::get_data(), Controller::get_position(), and Controller::set_data().
|
virtual |
Implements csl::Synch.
Definition at line 76 of file ThreadUtilities.cpp.
|
virtual |
|
staticinherited |
Factory method Utilities.
Definition at line 54 of file ThreadUtilities.cpp.
Referenced by csl::NullIO::NullIO(), and csl::StdIO::StdIO().
pthread_mutex_t csl::SynchPthread::mMutex |
Definition at line 81 of file ThreadUtilities.h.
Referenced by condWait(), lock(), SynchPthread(), unlock(), and ~SynchPthread().
pthread_cond_t csl::SynchPthread::mCond |
Definition at line 82 of file ThreadUtilities.h.
Referenced by condSignal(), condWait(), SynchPthread(), and ~SynchPthread().