add condition variable version producer_consumer