Semaphore - Example - Operating System
Q. Consider a counting semaphore which was initialized to 10 and then 6P (wait) operations and 4v(signal) operations were completed on this semaphore. What is the resulting value of semaphore?- Published on 25 Aug 15a. 10
b. 9
c. 8
d. 0
ANSWER: 8