SO, today we are
talking about the producer-consumer problem, and we are going to solve it
utilizing a bounded-buffer and pthreads.
Let’s talk about a
producer-consumer relationship for a second, shall we? Basically, the producer
produces goods while the consumer consumes the goods and typically does
something with them.
In our case our
producer...