#include <JSemaphore.h>


Public Member Functions | |
| JSingleSemaphore () | |
| ~JSingleSemaphore () | |
| Object * | clone () const |
| bool | wait (long ms=-1) |
| bool | postToAll () |
| bool | tryWait () |
Private Attributes | |
| HANDLE | hSemaphore |
| pthread_mutex_t * | mutex |
Definition at line 85 of file JSemaphore.h.
| cmlabs::JSingleSemaphore::JSingleSemaphore | ( | ) |
Definition at line 130 of file JSemaphore_Linux.cpp.
| cmlabs::JSingleSemaphore::~JSingleSemaphore | ( | ) |
Definition at line 140 of file JSemaphore_Linux.cpp.
| Object* cmlabs::JSingleSemaphore::clone | ( | ) | const [virtual] |
| bool cmlabs::JSingleSemaphore::wait | ( | long | ms = -1 |
) |
| bool cmlabs::JSingleSemaphore::postToAll | ( | ) |
Definition at line 188 of file JSemaphore_Linux.cpp.
| bool cmlabs::JSingleSemaphore::tryWait | ( | ) |
Definition at line 196 of file JSemaphore_Linux.cpp.
HANDLE cmlabs::JSingleSemaphore::hSemaphore [private] |
Definition at line 98 of file JSemaphore.h.
pthread_mutex_t* cmlabs::JSingleSemaphore::mutex [private] |
Definition at line 100 of file JSemaphore.h.
1.5.6