Consider a system having m of resources of the same type. These resources are shared by 3 processes A, B and C, which have peak demands of 3, 4 and 6 respectively. For what value of n deadlock will not occur?
Consider a system having m of resources of the same type. These resources are shared by 3 processes A, B and C, which have peak demands of 3, 4 and 6 respectively. For 13 value of n deadlock will not occur.
Consider the peak demand situation of resources (A, B, C)= (3,4,6).
Total of max needs < (no. of resource instances + no. of processes)
(3+4+6)< m+3.
m>10. Hence m should be eleven or above. Only 13 qualify the criteria.
Deadlockrefers to a specific condition when two or more processes are each waiting for another to release a resource, or more than two processes are waiting for resources in a circular chain.