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