Domanda di colloquio di onsemi

What is difference between mutex and semaphore?