Anonymous user menu

Consider a system having m resources of same kind. Resources

Consider a system having m resources of same kind. Resources are shared among 4 processes a,b,c,d which has peak time demands of 3,4,5,6 minimum value of m that ensures deadlock will never occur is?

2Comments
Arul @innovwelt
31 Dec 2014 08:16 pm

[ \(\sum_{i=1}^{n}\)(max demand of Process(i) - 1) ] + 1

jayendra @jayendra
31 Dec 2014 10:51 pm

with these 2+3+4+5=14 resource you can find a scenarion in which deadlock occurs. now add 1 more resource 14+1=15. with these 15 resources you will not find any scenarion in which deadlock occur. atleast 1 process will be able to proceed with 15 resources.

therefore ans is 15