Which of the following is not a necessary condition for deadlock?
2013
Which of the following is not a necessary condition for deadlock?
- A.
Mutual exclusion
- B.
Reentrancy
- C.
Hold and wait
- D.
No pre-emption
Attempted by 517 students.
Show answer & explanation
Correct answer: B
Deadlock requires four necessary conditions: Mutual Exclusion, Hold and Wait, No Pre-emption, and Circular Wait. Reentrancy is a programming concept unrelated to these conditions. Thus, it is not a necessary condition for deadlock.