C++ API semaphores definitions. More...
Classes | |
class | os::rtos::semaphore::attributes |
Semaphore attributes. More... | |
class | os::rtos::semaphore::attributes_binary |
Binary semaphore attributes. More... | |
class | os::rtos::semaphore::attributes_counting |
Counting semaphore attributes. More... | |
class | os::rtos::semaphore |
POSIX compliant semaphore. More... | |
class | os::rtos::semaphore_binary |
POSIX compliant binary semaphore. More... | |
class | os::rtos::semaphore_counting |
POSIX compliant counting semaphore. More... | |
Typedefs | |
using | os::rtos::semaphore::count_t = int16_t |
Type of semaphore counter storage. | |
Variables | |
static const attributes_binary | os::rtos::semaphore::initializer_binary { 0 } |
Default binary semaphore initialiser. | |
static constexpr count_t | os::rtos::semaphore::max_count_value = 0x7FFF |
Maximum semaphore value. | |
C++ API semaphores definitions.
using os::rtos::semaphore::count_t = int16_t |
Type of semaphore counter storage.
A numeric value enough to hold the semaphore counter, usually a 16-bits signed value.
Definition at line 67 of file os-semaphore.h.
|
static |
Default binary semaphore initialiser.
This variable is used by the default constructor.
Definition at line 205 of file os-semaphore.h.
|
staticconstexpr |
Maximum semaphore value.
Used to validate the semaphore initial count and max count.
Definition at line 75 of file os-semaphore.h.