Difficulty: Easy
Correct Answer: hold and wait
Explanation:
Introduction / Context:
Coffman’s conditions identify the four necessary prerequisites for a deadlock in resource allocation systems. Understanding them helps in designing prevention and avoidance strategies.
Given Data / Assumptions:
Concept / Approach:
The four conditions are: mutual exclusion, hold and wait, no preemption, and circular wait. Hold and wait means processes currently holding resources also request additional resources and wait while holding what they already own—enabling circular dependency formation.
Step-by-Step Solution:
Verification / Alternative check:
Any OS text enumerates these four together. Breaking any one prevents deadlock; e.g., preventing hold-and-wait by forcing processes to request all resources at once.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing avoidance/prevention techniques with conditions; mixing runtime bugs (race/overflow) with resource-allocation theory.
Final Answer:
hold and wait
Discussion & Comments