ChibiOS/RT
2.5.1
Semaphore Struct Reference

Detailed Description

Semaphore structure.

Definition at line 37 of file chsem.h.

#include <chsem.h>

Inheritance diagram for Semaphore:
Collaboration diagram for Semaphore:

Data Fields

ThreadsQueue s_queue
 Queue of the threads sleeping on this semaphore.
cnt_t s_cnt
 The semaphore counter.

Field Documentation

Queue of the threads sleeping on this semaphore.

Definition at line 38 of file chsem.h.

Referenced by chSemAddCounterI(), chSemInit(), chSemResetI(), chSemSignal(), chSemSignalI(), chSemWaitS(), and chSemWaitTimeoutS().

The semaphore counter.

Definition at line 40 of file chsem.h.

Referenced by chSemAddCounterI(), chSemInit(), chSemResetI(), chSemSignal(), chSemSignalI(), chSemWaitS(), and chSemWaitTimeoutS().