IMC Trading interview question

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