21.08
|
Semamphore class. More...
#include <Semaphore.h>
Public Member Functions | |
Semaphore (int value=0) | |
Default Constuctor. More... | |
void | signal () |
Signals a semaphore. More... | |
void | wait () |
Waits on a semaphore. More... | |
Semamphore class.
Definition at line 35 of file Semaphore.h.
|
inline |
Default Constuctor.
[in] | value | Semaphore initial value |
Definition at line 42 of file Semaphore.h.
Referenced by Semaphore::wait().
|
inline |
|
inline |
Waits on a semaphore.
Definition at line 56 of file Semaphore.h.
References Semaphore::Semaphore(), and Semaphore::signal().