ChibiOS/RT  6.1.4
ch_semaphore Struct Reference

Semaphore structure. More...

#include <chsem.h>

Inheritance diagram for ch_semaphore:
Inheritance graph
Collaboration diagram for ch_semaphore:
Collaboration graph

Data Fields

ch_queue_t queue
 Queue of the threads sleeping on this semaphore.
More...
 
cnt_t cnt
 The semaphore counter.
More...
 

Detailed Description

Semaphore structure.

Definition at line 52 of file chsem.h.

Field Documentation

◆ queue

ch_queue_t ch_semaphore::queue

Queue of the threads sleeping on this semaphore.

Definition at line 53 of file chsem.h.

Referenced by chSemAddCounterI(), chSemObjectInit(), chSemResetWithMessageI(), chSemSignal(), chSemSignalI(), chSemSignalWait(), chSemWaitS(), and chSemWaitTimeoutS().

◆ cnt