retagged by
3,057 views
5 votes
5 votes

Consider a system with $m$ resources of same type being shared by $n$ processes. Resources can be requested and released by processes only one at a time. The system is deadlock free if and only if

  1. The sum of all max needs is $< m+n$
  2. The sum of all max needs is $>m+n$
  3. Both of above
  4. None
retagged by

1 Answer

2 votes
2 votes

for deadlock free condition 

R ≥ P(N − 1) + 1   =m >=n(N-1)+1 = m>=nN-n+1 =m+n>=nN+1    here N=1 max need so m+n>=n+1
Answer:

Related questions

1 votes
1 votes
3 answers
3
0 votes
0 votes
3 answers
4
admin asked Mar 31, 2020
992 views
The principle of locality of reference justifies the use ofNon reusableCache memoryVirtual memoryNone of the above