Anonymous user menu

Situations for possible deadlock

Plz explain it ??

2Comments
jamil @jishan
20 Nov 2014 11:30 am

Allotment of resources would be successful to all cases but in option

(B) where n = 21 & k = 12.

Let use take i = 10

So for P10 only R10 can be allotted whereas for P11 odd case (else).

R21 −11 i.e R10 can only be allotted.

This is an conflict.

Hence (B) is correct option.

jayendra @jayendra
24 Nov 2014 01:22 pm

Hi Parimal,

Here is the solution for this question:

In GATE 2010 CSE paper que was like this

... in ELSE part, instead of n-1 and n-1-2, it was n-i and n-i-2...

there is a printing mistake in your book.

I have attached the solution for the correct question.