Components/Libraries/XF/FreeRTOS/Mutex

From UIT
Revision as of 14:15, 10 August 2017 by Sara.chalokh (Talk | contribs)
Jump to: navigation, search

Contents

Mutex

Mutexes are like BinarySemaphores but they include an inheritance mechanism. This means that if a high priority task blocks while attempting to obtain a mutex (entered) that is currently held by a lower priority task, then the priority of the task holding the token is temporarily raised to that of the blocking task.This mechanism is designed to ensure the higher priority task is kept in the blocked state for the shortest time possible, and in so doing minimize the 'priority inversion' that has already occurred.

This mechanism make that Mutexes are the best choice for implement mutual exclusion and protect critical sections.

Member Attributes

Member Function Descrition

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox