<div dir="ltr">Hi all, <br>Can you anyone tell me what is the exact use of counting semaphore in kernel ?<div><br></div><div>When should we use it ? what is the practical usage of counting semaphores in <br>Linux kernel ?<br><br>I have seen only mutex (Binary semaphore)is used  for synchronization not the counting semaphore(count &gt;1).  <br><br>Any sugguestions would be appreciated </div><div><br></div><div>Thanks in advance. <br><br><div><br></div></div></div>