We're sorry but rendepage doesn't work properly without JavaScript enabled. Please enable it to continue.
CountDownLatch有哪些主要方法?
千锋教育
await(), 此函数将会使当前线程在锁存器倒计数至零之前一直等待,除非线程被中断。
countDown(), 此函数将递减锁存器的计数,如果计数到达零,则释放所有等待的线程