Conditions for Deadlock
The following policy conditions must be present for a deadlock to be possible:
- 1. Mutual Exclusion:
- Only one process at a time can use a resource.
- 2. Hold and Wait:
- A process may hold allocated resources while awaiting assignment of other resources.
- 3. No Preemption:
- A resource can be released only voluntarily by the process holding it (no forced release).