What is the difference between Mutex and Binary semaphore?

Q

What is the difference between Mutex and Binary semaphore?

✍: Guest

A

semaphore is used to synchronize processes. where as mutex is used to provide synchronization between threads running in the same process.

2012-03-26, 2789👍, 0💬