Cognizant Interview Question

producer consumer problem in os