3303-flashcards/hATaBiZQ - 3303/WK4PrzMr - What are the two common protocols used to solve the Priority Inversion problem.md
gwg313 e83b60af4f
first commit
update readme

reformat
2026-04-20 23:10:20 -04:00

10 lines
No EOL
457 B
Markdown

What are the two common protocols used to solve the Priority Inversion problem?
---
🛡️
1. **Priority Inheritance Protocol**: The low-priority thread "inherits" the high-priority of the thread it is blocking until it releases the lock.
2. **Priority Ceiling (Priority Protect) Protocol**: The priority of the thread holding the lock is elevated to a predefined "ceiling" value (the highest priority of any thread that might ever need that lock).