Qualcomm interview question

mutex, semaphores, locks