Counting semaphore. Maximum count is 2^15 - 1.
More...
#include <CountingSemaphoreLocal.hpp>
|
static const size_t | max_value = (1 << 15) - 1 |
|
Counting semaphore. Maximum count is 2^15 - 1.
Definition at line 48 of file CountingSemaphoreLocal.hpp.
Grappa::CountingSemaphore::CountingSemaphore |
( |
| ) |
|
|
inline |
Grappa::CountingSemaphore::CountingSemaphore |
( |
int64_t |
initial_count | ) |
|
|
inline |
void Grappa::CountingSemaphore::decrement |
( |
int64_t |
decr = 1 | ) |
|
|
inline |
int16_t Grappa::CountingSemaphore::get_value |
( |
| ) |
const |
|
inline |
void Grappa::CountingSemaphore::increment |
( |
int64_t |
incr = 1 | ) |
|
|
inline |
bool Grappa::CountingSemaphore::try_decrement |
( |
int64_t |
decr = 1 | ) |
|
|
inline |
int16_t Grappa::CountingSemaphore::count_ |
const size_t Grappa::CountingSemaphore::max_value = (1 << 15) - 1 |
|
static |
intptr_t Grappa::CountingSemaphore::raw_ |
intptr_t Grappa::CountingSemaphore::waiters_ |
The documentation for this class was generated from the following file: