This is a multi-threaded Solution to the producer consumer problem. Written in C using pthreads.