|
ChibiOS/RT 7.0.5
|
Semaphores code. More...
#include "ch.h"Go to the source code of this file.
Macros | |
| #define | sem_insert(qp, tp) |
Functions | |
| void | chSemObjectInit (semaphore_t *sp, cnt_t n) |
| Initializes a semaphore with the specified counter value. | |
| void | chSemResetWithMessage (semaphore_t *sp, cnt_t n, msg_t msg) |
| Performs a reset operation on the semaphore. | |
| void | chSemResetWithMessageI (semaphore_t *sp, cnt_t n, msg_t msg) |
| Performs a reset operation on the semaphore. | |
| msg_t | chSemWait (semaphore_t *sp) |
| Performs a wait operation on a semaphore. | |
| msg_t | chSemWaitS (semaphore_t *sp) |
| Performs a wait operation on a semaphore. | |
| msg_t | chSemWaitTimeout (semaphore_t *sp, sysinterval_t timeout) |
| Performs a wait operation on a semaphore with timeout specification. | |
| msg_t | chSemWaitTimeoutS (semaphore_t *sp, sysinterval_t timeout) |
| Performs a wait operation on a semaphore with timeout specification. | |
| void | chSemSignal (semaphore_t *sp) |
| Performs a signal operation on a semaphore. | |
| void | chSemSignalI (semaphore_t *sp) |
| Performs a signal operation on a semaphore. | |
| void | chSemAddCounterI (semaphore_t *sp, cnt_t n) |
| Adds the specified value to the semaphore counter. | |
| msg_t | chSemSignalWait (semaphore_t *sps, semaphore_t *spw) |
| Performs atomic signal and wait operations on two semaphores. | |
Semaphores code.
Definition in file chsem.c.