ChibiOS/RT 7.0.5
chcond.h File Reference

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)
 Data part of a static condition variable initializer.
#define CONDVAR_DECL(name)
 Static condition variable initializer.

Typedefs

typedef struct condition_variable condition_variable_t
 condition_variable_t structure.

Functions

void chCondObjectInit (condition_variable_t *cp)
 Initializes s condition_variable_t structure.
void chCondSignal (condition_variable_t *cp)
 Signals one thread that is waiting on the condition variable.
void chCondSignalI (condition_variable_t *cp)
 Signals one thread that is waiting on the condition variable.
void chCondBroadcast (condition_variable_t *cp)
 Signals all threads that are waiting on the condition variable.
void chCondBroadcastI (condition_variable_t *cp)
 Signals all threads that are waiting on the condition variable.
msg_t chCondWait (condition_variable_t *cp)
 Waits on the condition variable releasing the mutex lock.
msg_t chCondWaitS (condition_variable_t *cp)
 Waits on the condition variable releasing the mutex lock.
msg_t chCondWaitTimeout (condition_variable_t *cp, sysinterval_t timeout)
 Waits on the condition variable releasing the mutex lock.
msg_t chCondWaitTimeoutS (condition_variable_t *cp, sysinterval_t timeout)
 Waits on the condition variable releasing the mutex lock.

Detailed Description

Condition Variables macros and structures.

Definition in file chcond.h.