Intermediate
Operating Systems
Q80 / 100
What is "priority donation" (or priority inheritance) and what problem does it directly address?
Correct! Well done.
Incorrect.
The correct answer is C) It temporarily raises the priority of a lower-priority thread holding a lock to match the priority of a higher-priority thread waiting for that lock, addressing priority inversion
C
Correct Answer
It temporarily raises the priority of a lower-priority thread holding a lock to match the priority of a higher-priority thread waiting for that lock, addressing priority inversion
Explanation
Priority inheritance temporarily boosts the priority of the lock-holding thread to that of the highest-priority thread blocked on the same lock. This prevents medium-priority threads from indefinitely delaying the high-priority thread — the exact issue that caused the Mars Pathfinder reset bug.
Progress
80/100