i2c interview question

Difference between semaphores and mutex.