Bloomberg interview question

Multithreading question involving semaphores, mutex and condvars.