Pergunta de entrevista da empresa Analog Devices

What is the difference between simaphure (semaphore) and mutex?