java 多线程 并发 之 CountDownLatch

CountDownLatch 与 CyclicBarrier 的最大区别是不可以重复使用, 如果需要多个线程集合点, 需要多个 CountDownLatch 实例.

同时它也不可以reset.

标签: none

添加新评论