Which of the following is NOT the necessary condition for the deadlock?
2023
Which of the following is NOT the necessary condition for the deadlock?
- A.
Preemption
- B.
Circular wait
- C.
Mutual exclusion
- D.
Hold and wait
Attempted by 147 students.
Show answer & explanation
Correct answer: A
Deadlock requires four conditions: mutual exclusion, hold and wait, no preemption, and circular wait. Preemption is not a necessary condition; it's actually used to prevent deadlock.