Domanda di colloquio di RTX

What's the difference between a semaphore and a mutex?