Question:

Among priority inversion between two processes, one with high priority and other with low priority that share a critical section will cause which of the following problem?

Show Hint

Priority inversion can be avoided using protocols like priority inheritance, where the low priority process temporarily inherits the priority of the high priority process.
Updated On: Jun 16, 2025
  • High priority process executes before low priority process and finishes faster than it should.
  • Low priority process executes before high priority process and finishes faster than it should.
  • High priority process waits for low priority process to finish, but the low priority process never gets scheduled.
  • Low priority process changes priority temporarily to the priority of the high priority process.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Priority inversion occurs when a low priority process holds a resource needed by a high priority process, and the high priority process ends up waiting for the low priority process to finish. This can lead to a situation where the low priority process never gets scheduled, as the high priority process is waiting.
Was this answer helpful?
0
0