Components/Libraries/XF/FreeRTOS/BinarySemaphore

From UIT
(Difference between revisions)
Jump to: navigation, search
 
Line 3: Line 3:
 
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 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).
 
Binary semaphores are principally used to implement synchronization (between tasks or between tasks and an interrupt).
= Member Attributes =
 
 
= Member Functions Description =
 
= Member Functions Description =
 
== BinarySemaphore() ==
 
== BinarySemaphore() ==

Latest revision as of 14:13, 10 August 2017

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