Qualcomm Interview Question

what is Mutex and Semaphore? What is Spin lock?