Pregunta de entrevista de Qualcomm

Difference between a mutex and a semaphore