#include <JSemaphore.h>


Public Member Functions | |
| JSemaphore (JString semName="") | |
| ~JSemaphore () | |
| Object * | clone () const |
| bool | wait (long ms=-1) |
| bool | post () |
| bool | tryWait () |
| bool | unitTest () |
Public Attributes | |
| int | count |
| JString | name |
Private Attributes | |
| HANDLE | hSemaphore |
| pthread_mutex_t * | mutex |
Definition at line 62 of file JSemaphore.h.
| cmlabs::JSemaphore::JSemaphore | ( | JString | semName = "" |
) |
Definition at line 32 of file JSemaphore_Linux.cpp.
| cmlabs::JSemaphore::~JSemaphore | ( | ) |
Definition at line 45 of file JSemaphore_Linux.cpp.
| Object* cmlabs::JSemaphore::clone | ( | ) | const [virtual] |
| bool cmlabs::JSemaphore::wait | ( | long | ms = -1 |
) |
| bool cmlabs::JSemaphore::post | ( | ) |
Definition at line 111 of file JSemaphore_Linux.cpp.
| bool cmlabs::JSemaphore::tryWait | ( | ) |
Definition at line 121 of file JSemaphore_Linux.cpp.
| bool cmlabs::JSemaphore::unitTest | ( | ) | [virtual] |
Definition at line 69 of file JSemaphore.h.
Definition at line 70 of file JSemaphore.h.
HANDLE cmlabs::JSemaphore::hSemaphore [private] |
Definition at line 79 of file JSemaphore.h.
pthread_mutex_t* cmlabs::JSemaphore::mutex [private] |
Definition at line 81 of file JSemaphore.h.
1.5.6