Answer:
Priority Inheritance is the solution for priority
inversion. whenever a high priority task request for some
resource which is locked by a low priority task, the
priority of lower task is inherited to the priority of the
higher task. The instance it unlocks the resource the
prioity is changed to its original value.
Another solution for this is priority ceiling where you
inherit the priority of the lower task whenever a higher
task is created.Even if the higher priority task doesnot
request for the resource
inversion. whenever a high priority task request for some
resource which is locked by a low priority task, the
priority of lower task is inherited to the priority of the
higher task. The instance it unlocks the resource the
prioity is changed to its original value.
Another solution for this is priority ceiling where you
inherit the priority of the lower task whenever a higher
task is created.Even if the higher priority task doesnot
request for the resource
Previous Question | Next Question |
What is another for creating a task without using taskspawn? | What is priority inversion? |