Demonware Interview Question

difference between semaphore and mutex