Test #3 Flashcards
1
Q
Deadlock
A
Condition where a set of 2 or more procs are blocked and waiting for something from another proc in that set to do
2
Q
4 Conditions for a program to possibly have deadlock
A
- mutex
- hold and wait
- no preemption
- circular wait
3
Q
4 Ways to deal with deadlock
A
- Ignore it
- detect and recover
- prevent
- avoid
4
Q
To prevent deadlock, which condition should you prevent
A
- circular wait