what is priority inversion?

Priority inversion is the scenario where a low priority task holds a shared resource that is required by a high priority task. This causes the execution of the high priority task to be blocked until the low priority task has released the resource Note-priority inversion does not prevent deadlock