Question d’entretien chez embedUR systems

What is the difference between mutex and semaphore?