Traditional semaphore synchronisation object. More...
#include <Semaphore.hpp>
Public Member Functions | |
Semaphore (unsigned int count_=0) | |
Create a semaphore object, setting an initial count if desired. More... | |
void | decrement () |
Decrement the semaphore, blocking if the count is zero. More... | |
void | increment () |
Increment the semaphore. More... | |
Traditional semaphore synchronisation object.
|
inlineexplicit |
Create a semaphore object, setting an initial count if desired.
|
inline |
Decrement the semaphore, blocking if the count is zero.
|
inline |
Increment the semaphore.