- GATE CS
- 2026–27 pattern practice
- Operating Systems
- Deadlocks
- Easy
Which of the following is not one of the four necessary (Coffman) conditions for deadlock?
Process Management
Pick an option to check your answer.
Answer: D. Solution
Deadlock requires all four: mutual exclusion, hold and wait, no preemption and circular wait. If resources can be preempted, the system can break a deadlock, so preemption is a way to prevent it, not a condition for it.
Why not the others
- Mutual exclusion — at least one resource is non-shareable — is a necessary condition.
- Hold and wait — a process holds resources while waiting for others — is a necessary condition.
- Circular wait — a cycle of processes each waiting on the next — is a necessary condition.