Template Class ParallelTimeoutBarrier

Class Documentation

template<typename Timer_T = uitsl::Timer<>>
class uitsl::ParallelTimeoutBarrier

Block until all threads reach the barrier or a timeout is exceeded.

Template Parameters
  • Timer_T: class to manage timeout check.

Public Functions

ParallelTimeoutBarrier(const uitsl::ThreadIbarrier &thread_barrier, const Timer_T &timer = Timer_T{})

Blocks until all threads have reached barrier, or timer expires.