603 views
1 votes
1 votes

A) S1 is Deadlock and S2 is starvation

B) S1 is livelock and S2 is starvation

C) S1 is starvation and S2 is Deadlock

D) S1 is Livelock and S2 is Deadlock

1 Answer

0 votes
0 votes
answer is D..

S1 is live lock as processes are in running state......and they are stuck due to resource hence it is 100% live-lock...(as processes are in running phase not being blocked due to request of resource)

but in s2 they clearly mentioned that p1 is making blocking call and also p2 ,p3 does same hence they are in block state hence its is deadlock ...

Related questions