Embedded Software Engineer Question:

Do you know what is priority inversion?

Tweet Share WhatsApp

Answer:

If two tasks share a resource, the one with higher priority will run first. However, if the lower-priority task is using the shared resource when the higher-priority task becomes ready, then the higher-priority task must wait for the lower-priority task to finish. In this scenario, even though the task has higher priority it needs to wait for the completion of the lower-priority task with the shared resource. This is called priority inversion.

Download Embedded Software Engineer PDF Read All 100 Embedded Software Engineer Questions
Previous QuestionNext Question
Tell me whether we can use semaphore or mutex or spinlock in interrupt context in Linux Kernel?Tell me which parameters decide the size of data type for a processor?