Implementation of Producer-Consumer problem in C++ and Python Implementation of Producer-Consumer problem in C++ and Python