Pergunta de entrevista da empresa Morgan Stanley

code review of a multi-threading program