in Operating System recategorized by
2,398 views
0 votes
0 votes

​​​​​​​Suppose a system has $12$ instances of some resource with $n$ processes competing for that resource. Each process may require $4$ instances of the resources. The maximum value of $n$ for which the system never enters into deadlock is

  1. $3$
  2. $4$
  3. $5$
  4. $6$
in Operating System recategorized by
by
2.4k views

1 Answer

0 votes
0 votes
Let every process acquired 3 resources now we need 1 more resource to complete one of them so that system will not face deadlock

3n+1<=12

3n<=11

n<=3.66

n=3

option (A)

Related questions