adspace
What is the difference between a mutex and a semaphore?
Answer Posted / Bipul Kumar
A mutex (mutual exclusion) allows exclusive access to a shared resource by only one thread at a time, while a semaphore can count multiple resources or events. A semaphore can be used to manage multiple concurrent operations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers