Consider a system having m resources of same type and 3 process A,B and C have peak demands of 3,4 and 6 respectiveley.
What should be the value of m such that the deadlock will not occur ?
My Analysis :
If we consider the worst case , 2 for A ,3 for B and 5 for C (2+3+5=10) resources are currently allocated . So in addition to that , one more resource if allocated to any one of the process will prevent the occurance of deadlock.
So , the answer is 11 . Is this correct ? or is there any other answer that contradicts above