1,571 views

1 Answer

3 votes
3 votes

answer should be D

Option A)say we execute S1 that is DOWN on P then process P1 is preempted and P2 start execution so DOWN on Q

Now both P1 ans P2 are stuck as they cant do down on either P or Q so DEADLOCK may occure .

Option B) here if any of process either P1 or P2 do DOWN on P then it will get chance to access CS but can it gurentee the Bounded wait ??...it will not ..say P1 does DOWN on P now P2 cant do anything ,so it will wait ..now P1 can do Down on Q ..enter into CS and again Up on P and Q but there is no gurantee that P2 will do down on P ..it may possible that P1 again do this down on P ..and may run many times ...so BOUNDED WAIT DEFINATELY  ABSENT

Option C)P1 does down on Q then P2 will DOWN on P ..so again deadlock ...so it cant be option

Option D) Correct ...none of above gurantee "ME,BW,PROGRESS"