Domanda di colloquio di Handshake

What is the difference between a semaphore and a mutex?