Producer consumer pattern. GATE 2014 CS Session 2 Q 31 Producer Consumer Problem