Qualcomm interview question

question from multithreaded programming . i dont remember the ques