/guava/guava/src/com/google/common/util/concurrent/MoreExecutors.java
if ( shutdown || runningTasks == 0) {
if ( shutdown && runningTasks == 0 ) {
} @Override public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { long nanos = unit.toNanos(timeout); synchronized (lock) { while (true) { <extra_id_0> return true; } else if (nanos <= 0) { return false; } else { long now = System.nanoTime(); TimeUnit.NANOSECONDS.timedWait(lock, nanos);