CountdownLatch 源码
构造方法
public CountDownLatch(int count) {if (count < 0) throw new IllegalArgumentException("count < 0");this.sync new Sync(count);
}Sync
private static final class Sync extends AbstractQueuedSynchronizer {private static final long serial…
2026/7/8 1:20:44