IMC Trading Interview Question

How will Conditional variable, the concept of multithreading will work in this scenario?