阅读《阿里巴巴Java 并发编程》并发编程(juc)章节,分享Java.util.concurrent.*并发接口、并发同步控制
A barrier: A barrier is a coordination mechanosm (an algorithm) that forces process which participate in a concurrent (or distributed) algorithm to wait until each one of them has reached a certain point in its program. The collection of these coordination points is called the barrier. Once all the processes have reached the barrier, they are all permitted to continue past the barrier.