Pergunta de entrevista da empresa FIDUS SYSTEMS

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