381 B
381 B
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.