chapter 8 deadlock Flashcards
1
Q
Deadlock can arise if four conditions hold simultaneously
A
mutual exclusion
hold and wait
no preemption
circular wait
2
Q
how to handle deadlocks
A
ignore deadlock
ensure deadlock never occur using
- prevention
- avoidance
allow deadlock to happen
- detection
- recovery