ChibiOS 21.11.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.
cnt_t cnt
 The semaphore counter.

Detailed Description

Semaphore structure.

Definition at line 52 of file rt/include/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 rt/include/chsem.h.

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

◆ cnt