Which condition is NOT necessary for a deadlock to occur in an OS?
20 views
- Mutual Exclusion
- Hold and Wait
- Preemption (Correct Answer)
- Circular Wait
Explanation
Deadlock requires Mutual Exclusion, Hold and Wait, and Circular Wait. Preemption is actually a method used by operating systems to prevent or resolve deadlocks.