Skip to content

CyclicBarrier

Vishnu Garg edited this page Jul 10, 2018 · 3 revisions

CyclicBarrier

The java.util.concurrent.CyclicBarrier class is a synchronization mechanism that can synchronize threads progressing through some algorithm. In other words, it is a barrier that all threads must wait at, until all threads reach it, before any of the threads can continue. Here is a diagram illustrating that:

![http://tutorials.jenkov.com/images/java-concurrency-utils/cyclic-barrier.png](Cyclic Barrier)

Clone this wiki locally