counting semaphore question

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

 



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. 


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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