embedUR systems Interview Question

difference between mutex and semaphore