Discussion Locked

Semaphore Problem

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.