972973974975976977978979980981982
// this signals that we're done. synchronized(numExecutingOutputs) { numExecutingOutputs.decrementAndGet(); numExecutingOutputs.notifyAll(); } if (taskSepaphore != null) taskSepaphore.release(); } } };