Pregunta de entrevista de onsemi

What is difference between mutex and semaphore?