Cognizant interview question

Multi threading- Inter Thread Communications