Synchronization barrier
A primitive where multiple threads wait until all have reached the same point before any proceed.
A synchronization barrier is a checkpoint: n threads call the barrier, the first n–1 block, and when the nth arrives, all are released together. Often used in parallel computation to synchronize phases—a thread cannot start the next iteration until all finish the current one.
OpenMP and PGAS languages use them for coordinating map-reduce-like patterns. Without barriers, you'd need less efficient alternatives like polling or explicit join operations for each thread.