Conditions for Deadlock (cont.)
In addition, some specific scenario must occur for a deadlock to happen:
- 4. Circular Wait:
- A closed chain of processes exists, such that each process holds at least one resource needed by the next process in the chain.
- Alternatively, each process waits for a messages that has to be sent by the next process in the chain.