Construct a std::experimental::flex_barrier
with N
participating threads.
explicit flex_barrier(ptrdiff_t num_threads);
The newly-constructed flex_barrier has num_threads
participating threads.
A std::experimental::flex_barrier
constructed
with this constructor has the same behaviour as a std::experimental::barrier
constructed with
the same num_threads
value.
#include <experimental/barrier>