Producer Consumer
 All Classes Namespaces Files Functions Variables Properties
Classes
Package producerConsumer

Classes

class  AbstractBuffer
 Abstract class implementing the common parts of BoundedBuffer and UnboundedBuffer More...
 
class  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. More...
 
class  Consumer
 
class  Copier
 
class  Duplicator
 Duplicator is worker that takes from one buffer, and copies the element to TWO outgoing buffers More...
 
interface  IBuffer
 
class  MiddleMan
 MiddleMan is a worker that takes from one buffer and adds into another buffer- More...
 
class  Producer
 Produces items and Adds them into the specified buffer More...
 
class  Program
 
class  UnboundedBuffer
 A buffer with unlimited capacity. More...