Components/Libraries/XF/FreeRTOS/BinarySemaphore

From UIT
Jump to: navigation, search

Contents

Binary Semaphore

Binary Semaphore is semaphore that can be taken only one time. This is very like Mutex but Mutex include a priority inheritance mechanic. Binary semaphore not. Binary semaphores are principally used to implement synchronization (between tasks or between tasks and an interrupt).

Member Functions Description

BinarySemaphore()

Description

Constructs the BinarySemaphore that manage the FreeRTOS binary semaphore.

~BinarySemaphore()

Description

Deletes the binary semaphore

bool isAvailable()

Description

Return true if semaphore is available else false

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox