Synchronization

Barrier Synchronization

Saw this while reading the PMPP book, chapter 3.

A barrier for a group of threads or processes in the source code means any thread/process must stop at this point and cannot proceed until all other threads/processes reach this barrier.