distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
Header of C-API for distortos::Semaphore. More...
Go to the source code of this file.
Classes | |
struct | distortos_Semaphore |
C-API equivalent of distortos::Semaphore. More... | |
Macros | |
#define | DISTORTOS_SEMAPHORE_INITIALIZER(self, value, maxValue) {ESTD_INTRUSIVELIST_INITIALIZER((self).blockedList), (value) < (maxValue) ? (value) : (maxValue), (maxValue)} |
Initializer for distortos_Semaphore. More... | |
#define | DISTORTOS_SEMAPHORE_CONSTRUCT_1(name, value, maxValue) struct distortos_Semaphore name = DISTORTOS_SEMAPHORE_INITIALIZER(name, value, maxValue) |
C-API equivalent of distortos::Semaphore's constructor. More... | |
#define | DISTORTOS_SEMAPHORE_CONSTRUCT(name, value) DISTORTOS_SEMAPHORE_CONSTRUCT_1(name, value, UINT_MAX) |
C-API equivalent of distortos::Semaphore's constructor, maxValue == UINT_MAX. More... | |
Header of C-API for distortos::Semaphore.