CountDownLatch

CountDownLatch的作用就是 允许 count 个线程阻塞在一个地方,直至所有线程的任务都执行完毕。