420 B
420 B
How does Unbounded Priority Inversion differ from the bounded version?
🌪️ It happens when a medium-priority thread preempts the low-priority thread that holds the lock. Since the high-priority thread is waiting for the lock, and the low-priority thread can't run to release it because of the medium thread, the high-priority thread is blocked for an indeterminate (unbounded) amount of time.