Question: what is the difference between counting semaphore and binary semaphores?
Answer: The binary semaphores are quite similar to counting semaphores, but their value is restricted to 0 and 1. ... Counting Semaphore has no mutual exclusion whereas Binary Semaphore has Mutual exclusion. Semaphore means a signaling mechanism whereas Mutex is a locking mechanism.