CyclicBarrier

Turkish equivalent: döngüsel bariyerDomain: Concurrency

A reusable Java synchronization barrier that releases a fixed group of threads when all parties reach the same phase boundary.

Technical Context

Unlike CountDownLatch, it can be reused across cycles. Failure semantics matter: interruption, timeout, or a failed barrier action can break the barrier for every participant, so production code must handle BrokenBarrierException explicitly.

  • CountDownLatch
  • barrier
  • phased computation
  • BrokenBarrierException