Intel Corporation Interview Question

Difference between mutex and semaphore