#include <JSemaphore.h>
Public Member Functions | |
JMutex () | |
~JMutex () | |
Object * | clone () const |
bool | enterMutex (long ms=-1) const |
bool | leaveMutex () const |
bool | EnterMutex (long ms=-1) const |
bool | LeaveMutex () const |
Private Attributes | |
pthread_cond_t * | semaphore |
pthread_mutex_t * | semaphoremutex |
pthread_mutex_t * | mutex |
Definition at line 104 of file JSemaphore.h.
cmlabs::JMutex::JMutex | ( | ) |
Definition at line 206 of file JSemaphore_Linux.cpp.
cmlabs::JMutex::~JMutex | ( | ) |
Definition at line 223 of file JSemaphore_Linux.cpp.
Object* cmlabs::JMutex::clone | ( | ) | const [virtual] |
bool cmlabs::JMutex::enterMutex | ( | long | ms = -1 |
) | const |
Definition at line 237 of file JSemaphore_Linux.cpp.
bool cmlabs::JMutex::leaveMutex | ( | ) | const |
Definition at line 307 of file JSemaphore_Linux.cpp.
bool cmlabs::JMutex::EnterMutex | ( | long | ms = -1 |
) | const |
Definition at line 233 of file JSemaphore_Linux.cpp.
bool cmlabs::JMutex::LeaveMutex | ( | ) | const |
Definition at line 303 of file JSemaphore_Linux.cpp.
pthread_cond_t* cmlabs::JMutex::semaphore [private] |
Definition at line 125 of file JSemaphore.h.
pthread_mutex_t* cmlabs::JMutex::semaphoremutex [private] |
Definition at line 126 of file JSemaphore.h.
pthread_mutex_t* cmlabs::JMutex::mutex [private] |
Definition at line 127 of file JSemaphore.h.