Consider a system having "n" resources of same type. These resources are shared by 3 processes, A, B, C. These have peak demands of 3, 4, and 6 respectively. For what value of "n" deadlock won't occur
- A. 15
- B. 9
- C. 10
- D. 13
Answer: D. 13
Explanation: Deadlock condition: n < (3-1) + (4-1) + (6-1) + 1 = 11. If n >= 11, deadlock is impossible. 13 is a safe value.