this(pipe, 5);
Creates a new instance of ProcessorPool this.capacity = capacity; this.pipe =pipe;
this.capacity = capacity; this.pipe =pipe;
push(in); notifyAll();
try { if (!empty()) { return pop(); } else if (length < capacity) { length++; return (T)PipeCloner.clone(pipe); } else { while (empty()) { wait(); } return pop(); } } catch (InterruptedException e) { } return null;