| 
    ChibiOS 21.11.4
    
   | 
 
Semaphore structure. More...
#include <chsem.h>


Data Fields | |
| ch_queue_t | queue | 
| Queue of the threads sleeping on this semaphore.   | |
| cnt_t | cnt | 
| The semaphore counter.   | |
Semaphore structure.
Definition at line 52 of file rt/include/chsem.h.
| ch_queue_t ch_semaphore::queue | 
Queue of the threads sleeping on this semaphore.
Definition at line 53 of file rt/include/chsem.h.
Referenced by chSemAddCounterI(), chSemObjectInit(), chSemResetWithMessageI(), chSemSignal(), chSemSignalI(), chSemSignalWait(), chSemWaitS(), and chSemWaitTimeoutS().
| cnt_t ch_semaphore::cnt | 
The semaphore counter.
Definition at line 55 of file rt/include/chsem.h.
Referenced by chBSemGetStateI(), chBSemSignalI(), chSemAddCounterI(), chSemFastSignalI(), chSemFastWaitI(), chSemGetCounterI(), chSemObjectInit(), chSemResetWithMessageI(), chSemSignal(), chSemSignalI(), chSemSignalWait(), chSemWaitS(), and chSemWaitTimeoutS().