Anonymous user menu

Gate1997_6.7

An operating system contains 3 user processes each requiring 2 units of resource R. the minimum number of units of r such that no deadlocks will ever arise is
(a) 3

(b) 5

(c) 4

(d) 6

Answer

Discuss

1Comment
Amit Pal @amitpal101
25 Sep 2016 11:39 pm

total no of process = 3 
each process require 2 unit of resources .
so maximum resources which will cause deadlock in this system= 3* 1=3

so if there will be 4 units of r then there will be no deadlock . 
Ans (c)