counting semaphore

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

 



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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux