Cardinal Peak interview question

What are the differences between mutexes and semaphores?