3303-flashcards/hATaBiZQ - 3303/5CqQd5zo - What is the difference between Deadlock Detection and Deadlock Prevention.md
gwg313 e83b60af4f
first commit
update readme

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

10 lines
No EOL
381 B
Markdown

What is the difference between **Deadlock Detection** and **Deadlock Prevention**?
---
🔍
- **Detection**: Allowing deadlocks to happen but using tools (like watchdog timers or request graph analysis) to find and reset the system.
- **Prevention**: Using a strict policy, such as **requesting resources in the same order**, to ensure a deadlock can never physically occur.