10 lines
No EOL
381 B
Markdown
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.
|
|
|