0 0 votes Can someone please explain the solution to this problem? Operating System + – nateshmbhat 620 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 1 1 vote $A=1,B=0$ $P_{1}$ $P_{2}$ $P(B)$ $P(A)$ $R_{1}$ $R_{1}$ $R_{2}$ $V(B)$ $V(A)$ $P(A)$ $P(B)$ $R_{2}$ $R_{3}$ $R_{3}$ $R_{4}$ $V(B)$ $V(A)$ $P(A)$ $R_{4}$ This satisfies all the given conditions. So, $2$ binary semaphores are required. Correct me if I'm wrong Shobhit Joshi answered Dec 21, 2018 • selected Dec 21, 2018 by nateshmbhat Shobhit Joshi comment Share Follow 0 reply Please log in or register to add a comment.