onsemi Interview Question

What is difference between mutex and semaphore?