1 votes 1 votes At a particular time of computation, the value of a counting semaphore is $7$ , then $20$ $P$ operations and 'x' $V$ operations were completed on this semaphore. If the final value of the semaphore is $5$, the value of $x$ should be ____ Operating System go-os-1 operating-system process-synchronization semaphore numerical-answers + – Bikram asked Sep 3, 2016 Bikram 277 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 1 votes 1 votes Lets say semaphore value (S)= 7 20 (P) operations, x (V) operations so, 7 - 20 + x = 5 x=18 shivam001 answered Jul 13, 2019 selected Jul 13, 2019 by Bikram shivam001 comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Answer is 18 go_editor answered Sep 3, 2016 go_editor comment Share Follow See all 0 reply Please log in or register to add a comment.