public boolean allFinished() {
		if (m_nextWorkerIndex < m_workers.length) {
			return false;
		}

		synchronized (m_workers) {
			for (Worker m_worker : m_workers) {
				if (m_worker != null) {
					return false;
				}
			}
		}

		return true;
	}
Check if all workers are finished.

@return true if all finished
ngrinder-core/src/main/java/net/grinder/engine/agent/ErrorStreamRedirectWorkerLauncher.java