Deadlocks Flashcards
1
Q
Mutual Exclusion
A
Resources can only be used by one process at a time.
2
Q
Hold and Wait
A
A process is holding a resource and waiting to acquire another resource held by another process.
3
Q
No Preemption
A
Processes must complete their task before releasing their resources.
4
Q
Circular Wait
A
Set of waiting processes such that Pn-1 is waiting for resource from Pn and Pn is waiting for p0..
5
Q
These 4 conditions must hold simultaneously for a deadlock to occur:
A
Mutual Exclusion
Hold and Wait
No Preemption
Circular Wait