0 votes 0 votes HOW ARE THE CURRENT OPERATORS CREATING DEADLOCK HERE? Operating System binary-semaphore + – Avik Chowdhury asked Sep 27, 2018 Avik Chowdhury 309 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Magma commented Sep 27, 2018 reply Follow Share I didn't see the options but but i think that correct answer should be wait(P) wait(Q) wait(P) wait(Q) 0 votes 0 votes Magma commented Sep 27, 2018 reply Follow Share 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 votes 0 votes akshayaK commented Sep 27, 2018 reply Follow Share i think answer should be : S1 : Wait(Q), S2 : Wait(P), S3 : Wait(Q), S4 : Wait(P) 0 votes 0 votes Magma commented Sep 27, 2018 reply Follow Share akshayaK yeah that's also right 0 votes 0 votes Please log in or register to add a comment.