this_thread
Destroys the barrier.
barrier
The behavior is undefined if any thread is concurrently calling a member function of the barrier.