1,091 views
1 votes
1 votes

Will it causing deadlock? How do we fixed it?

P1:                                   P2:

Wait(S);                               Wait(Q);                     
Wait(Q);                               Wait(S);
........                               .............
Signal(S);                             Signal(Q);
Signal(Q);                             Signal(S);

 

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
1
Rahul_Rathod_ asked Dec 12, 2018
1,568 views
a) s1-wait(p) , s2-wait(q) , s3-wait(q) , s4-wait(p)b) s1-wait(p) , s2-wait(q) , s3-wait(p) , s4-wait(q)c) s1-wait(q) , s2-wait(p) , s3-wait(p) , s4-wait(q)d) none of...
0 votes
0 votes
0 answers
2