Domanda di colloquio di Adobe

What is the difference between mutex and semaphore?