Morgan Stanley Interview Question

Multithread sync questions.