Pergunta de entrevista da empresa Qualcomm

what is Mutex and Semaphore? What is Spin lock?