Semaphore problem - TechRepublic
General discussion
August 16, 2005 at 12:06 PM
parimal408

Semaphore problem

by parimal408 . Updated 20 years, 10 months ago

Hello,
I have a problem that I can’t solve. Can you kindly solve it for me? The problem is like that:-

A counting semaphore was initialized to 10, then 6p (wait) operations and 4V (signal) operations were completed on this semaphore. The resulting value of the semaphore is:-
a> 0 b>8 c> 10 d>12

Please tell me what will be the answer given above with explation i.e, the detail process to solve this type of problem.

Thank You.

This discussion is locked

All Comments