Components/Libraries/XF/FreeRTOS/BinarySemaphore
From UIT
Revision as of 14:13, 10 August 2017 by Sara.chalokh (Talk | contribs)
|
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