Multithreading: Producer Consumer Problem
According to Wikipeida the Producer Consumer Problem is defined as: In computing, the producer–consumer problem (also known as the bounded-buffer problem) is a classic example of a multi-process synchronization problem. The problem describes two processes, the producer and the consumer, who share a common, fixed-size buffer used as a queue. In essence, the producer consumer problem occurs in multithreaded processes when there is a […]