#include <semaphore.h>
Public Member Functions | |
| void | P () |
| Semaphore (int value) | |
| Semaphore (const Semaphore &) | |
| void | V () |
Private Attributes | |
| boost::condition_variable | condition_ |
| boost::mutex | mutex_ |
| int | value_ |
Definition at line 30 of file semaphore.h.
| micros_swarm::Semaphore::Semaphore | ( | int | value | ) | [inline] |
Definition at line 32 of file semaphore.h.
| micros_swarm::Semaphore::Semaphore | ( | const Semaphore & | ) |
| void micros_swarm::Semaphore::P | ( | ) | [inline] |
Definition at line 35 of file semaphore.h.
| void micros_swarm::Semaphore::V | ( | ) | [inline] |
Definition at line 45 of file semaphore.h.
boost::condition_variable micros_swarm::Semaphore::condition_ [private] |
Definition at line 55 of file semaphore.h.
boost::mutex micros_swarm::Semaphore::mutex_ [private] |
Definition at line 54 of file semaphore.h.
int micros_swarm::Semaphore::value_ [private] |
Definition at line 53 of file semaphore.h.