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
Explanation: The value of n for which the deadlock can’t occur = n(k-1) + 1
Number of min resources required = (3-1) + (4-1) + (6-1) + 1 = 11
So, option (D) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.