353 B
353 B
How does the Priority Inheritance Protocol protect against medium-priority threads?
🛡️ When a high-priority thread blocks on a lock held by a low-priority thread, the low-priority thread's priority is raised to match the high-priority thread. This prevents medium-priority threads from preempting it and causing unbounded delay.