Template Class ConcurrentTimeoutBarrier

Class Documentation

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

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

Template Parameters
  • Timer_T: class to manage timeout check.

Public Functions

ConcurrentTimeoutBarrier(const uitsl::ThreadIbarrier &thread_barrier, const Timer_T &timer = Timer_T{}, const MPI_Comm comm = MPI_COMM_WORLD)

Blocks until all threads on all processes have reached barrier, or a timeout expires.