in Operating System
322 views
0 votes
0 votes

HOW ARE THE CURRENT OPERATORS CREATING DEADLOCK HERE? 

in Operating System
322 views

4 Comments

I didn't see the options but but i think that

correct answer should be

wait(P) wait(Q) wait(P) wait(Q)
0
0

the Option that you tick

In that situation deadlock occurs

PA S1 (P = 0) | PB S3 (Q=0) | PA (block at S2) |PB (block at S4)

therefore , deadlock situation occurs

0
0
i think answer should be :

S1 : Wait(Q), S2 : Wait(P), S3 : Wait(Q), S4 : Wait(P)
0
0

akshayaK yeah that's also right

0
0

Please log in or register to answer this question.