440 views
1 votes
1 votes
Suppose 10 processes p1 to p10  share 7 identical resource units and release on at a time then max resource req of a process pi is Sp where Sp is greater than 0.The max value of  summmation of  Sp for all process that ensures deadlock doesnt occur is

1 Answer

0 votes
0 votes

i*P<R+P   // If this is satisfied then No deadlock would be there.

i = Number of instances of resources required by each process

P= total number of processes

R= total number of resources.

if instance requirement by each process is different then take average , this would be our i.

Related questions