#include <SemaphorePT.hxx>
Public Member Functions | |
SemaphorePT (int initValue=0) | |
~SemaphorePT () | |
void | post () |
void | wait () |
int | getValue () |
Private Attributes | |
sem_t | _semDesc |
Definition at line 31 of file SemaphorePT.hxx.
SemaphorePT::SemaphorePT | ( | int | initValue = 0 | ) |
Definition at line 24 of file SemaphorePT.cxx.
References _semDesc.
SemaphorePT::~SemaphorePT | ( | ) |
Definition at line 29 of file SemaphorePT.cxx.
References _semDesc.
int SemaphorePT::getValue | ( | ) |
Definition at line 44 of file SemaphorePT.cxx.
References _semDesc.
void SemaphorePT::post | ( | ) |
Definition at line 34 of file SemaphorePT.cxx.
References _semDesc.
void SemaphorePT::wait | ( | ) |
Definition at line 39 of file SemaphorePT.cxx.
References _semDesc.
|
private |
Definition at line 40 of file SemaphorePT.hxx.
Referenced by getValue(), post(), SemaphorePT(), wait(), and ~SemaphorePT().