ChibiOS/RT
5.1.0
|
Condition Variables macros and structures. More...
Go to the source code of this file.
Data Structures | |
struct | condition_variable |
condition_variable_t structure. More... | |
Macros | |
#define | _CONDVAR_DATA(name) {_THREADS_QUEUE_DATA(name.queue)} |
Data part of a static condition variable initializer. More... | |
#define | CONDVAR_DECL(name) condition_variable_t name = _CONDVAR_DATA(name) |
Static condition variable initializer. More... | |
Typedefs | |
typedef struct condition_variable | condition_variable_t |
condition_variable_t structure. More... | |
Functions | |
void | chCondObjectInit (condition_variable_t *cp) |
Initializes s condition_variable_t structure. More... | |
void | chCondSignal (condition_variable_t *cp) |
Signals one thread that is waiting on the condition variable. More... | |
void | chCondSignalI (condition_variable_t *cp) |
Signals one thread that is waiting on the condition variable. More... | |
void | chCondBroadcast (condition_variable_t *cp) |
Signals all threads that are waiting on the condition variable. More... | |
void | chCondBroadcastI (condition_variable_t *cp) |
Signals all threads that are waiting on the condition variable. More... | |
msg_t | chCondWait (condition_variable_t *cp) |
Waits on the condition variable releasing the mutex lock. More... | |
msg_t | chCondWaitS (condition_variable_t *cp) |
Waits on the condition variable releasing the mutex lock. More... | |
msg_t | chCondWaitTimeout (condition_variable_t *cp, sysinterval_t timeout) |
Waits on the condition variable releasing the mutex lock. More... | |
msg_t | chCondWaitTimeoutS (condition_variable_t *cp, sysinterval_t timeout) |
Waits on the condition variable releasing the mutex lock. More... | |
Condition Variables macros and structures.
Definition in file chcond.h.