Construct a std::experimental::barrier
with N
participating threads.
explicit barrier(ptrdiff_t num_threads);
The newly-constructed barrier has num_threads
participating threads.
#include <experimental/barrier>