counting semaphore question

Shiva Shankar klshiva4a4 at gmail.com
Mon Feb 15 01:47:23 EST 2016


Hi all,
Can you anyone tell me what is the exact use of counting semaphore in
kernel ?

When should we use it ? what is the practical usage of counting semaphores
in
Linux kernel ?

I have seen only mutex (Binary semaphore)is used  for synchronization not
the counting semaphore(count >1).

Any sugguestions would be appreciated

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160215/bf46bf71/attachment.html 


More information about the Kernelnewbies mailing list