Question d’entretien chez onsemi

What is difference between mutex and semaphore?