Interview Questions

What is the difference between Mutex and Binary semaphore?

C++ Interview Questions and Answers


(Continued from previous question...)

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.

(Continued on next question...)

Other Interview Questions