#include <semaphore.hxx>
Public Member Functions | |
TSemaphore (int val=0, bool shared=true) | |
int | getValue () const |
void | post () |
void | wait () |
Private Attributes | |
sem_t | m_sem |
xyzzy::TSemaphore::TSemaphore | ( | int | val = 0 , |
|
bool | shared = true | |||
) | [explicit] |
int xyzzy::TSemaphore::getValue | ( | ) | const |
void xyzzy::TSemaphore::post | ( | ) |
void xyzzy::TSemaphore::wait | ( | ) |
sem_t xyzzy::TSemaphore::m_sem [private] |