Apex › Systems & OS

Priority inversion — the Mars Pathfinder bug

How a low-priority task can indirectly starve a high-priority one. The low task holds a lock the high task needs; a medium task that needs no lock preempts the low task, so it can't release — and the high task is stuck behind medium work. See it on two Gantt timelines, and watch priority inheritance bound the delay.

More in Systems & OS