VxWorks Question:
Download Questions PDF

What are the various methods to overcome it?

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

Download VxWorks Interview Questions And Answers PDF

Previous QuestionNext Question
What is another for creating a task without using taskspawn?What is priority inversion?