Question d’entretien chez Microsoft

Write the code for the Producer-Consumer problem.