Pergunta de entrevista da empresa Mavenir

thread write a program based on producer consumer.