C++ Interview Questions and Answers

 

What is the difference between Mutex and Binary semaphore?

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

Posted by:Richards