std::experimental::barrier::arrive_and_drop

Arrive at the barrier’s synchronization point and remove the current thread from the set of participating threads. It is unspecified whether this function blocks until the completion phase has ended.

# Declarations

void arrive_and_drop();

(concurrency TS)

# Notes

If every participating thread calls arrive_and_drop(), the barrier can only be destroyed.

After a thread calls arrive_and_drop() on a barrier, it is no longer a member of its set of participating threads and hence can no longer call either arrive_and_drop() or arrive_and_wait() on the same barrier.

# See also