Producer Consumer
|
producerConsumer.Consumer | |
producerConsumer.Copier | |
producerConsumer.Duplicator | Duplicator is worker that takes from one buffer, and copies the element to TWO outgoing buffers |
producerConsumer.IBuffer | |
producerConsumer.AbstractBuffer | Abstract class implementing the common parts of BoundedBuffer and UnboundedBuffer |
producerConsumer.BoundedBuffer | BoundedBuffer has a limited capacity. Trying to Add an element to a full buffer will make the calling thread wait. This class is thread safe. |
producerConsumer.UnboundedBuffer | A buffer with unlimited capacity. |
producerConsumer.MiddleMan | MiddleMan is a worker that takes from one buffer and adds into another buffer- |
producerConsumer.Producer | Produces items and Adds them into the specified buffer |
producerConsumer.Program |