#include <semaphore.h>
◆ Semaphore()
cuttlefish::Semaphore::Semaphore |
( |
const unsigned int |
init_val = 0 , |
|
|
const unsigned int |
cap = 30000 |
|
) |
| |
|
inline |
◆ SemPost()
void cuttlefish::Semaphore::SemPost |
( |
| ) |
|
|
inline |
◆ SemWait()
void cuttlefish::Semaphore::SemWait |
( |
| ) |
|
|
inline |
◆ capacity_
const unsigned int cuttlefish::Semaphore::capacity_ |
|
private |
◆ count_
unsigned int cuttlefish::Semaphore::count_ |
|
private |
◆ mtx_
std::mutex cuttlefish::Semaphore::mtx_ |
|
private |
◆ resoure_cv_
std::condition_variable cuttlefish::Semaphore::resoure_cv_ |
|
private |
◆ room_cv_
std::condition_variable cuttlefish::Semaphore::room_cv_ |
|
private |
The documentation for this class was generated from the following file: