adspace
Answer Posted / Amber Goel
A binary semaphore and a mutex serve similar purposes in managing concurrent access to shared resources, but there are subtle differences between them. A binary semaphore can only take on the values 0 or 1, while a mutex has no such limitation. However, in practice, binary semaphores are often used for mutual exclusion, making them quite similar to mutexes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers