...

/

The Producer/Consumer (Bounded Buffer) Problem

The Producer/Consumer (Bounded Buffer) Problem

Remember the producer/consumer problem from the previous chapter? Let's try to solve it with semaphores!

We'll cover the following...

The next problem we will confront in this chapter is known as the producer/consumer problem, or sometimes as the bounded buffer problem“Information Streams Sharing a Finite Buffer” by E.W. Dijkstra. Information Processing Letters 1, 1972. http://www.cs.utexas.edu/users/EWD/ewd03xx/EWD329.PDF. Did Dijkstra invent everything? No, but maybe close. He certainly was the first to clearly write down what the ...

Access this course and 1400+ top-rated courses and projects.