[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

counting semaphore



Hello,
I have a small question. Consider a counting semaphore having value initially set to 10. If there are 6P wait operations and 4V signal operations...then what is the current value of semaphore?.
I got it has -2 is it right?
Can Any one help me in this regard.
 
Regards,
Rupa