std::experimental::barrier::arrive_and_drop (3) - Linux Manuals
std::experimental::barrier::arrive_and_drop: std::experimental::barrier::arrive_and_drop
Command to display std::experimental::barrier::arrive_and_drop
manual in Linux: $ man 3 std::experimental::barrier::arrive_and_drop
NAME
std::experimental::barrier::arrive_and_drop - std::experimental::barrier::arrive_and_drop
Synopsis
void arrive_and_drop(); (concurrency TS)
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.
The behavior is undefined if the calling thread is not in the set of participating threads of this barrier.
Calls to arrive_and_drop synchronizes with the start of the completion phase of the barrier. If the call blocks, then the completion of the completion phase synchronizes with the return from the call.
Calls to arrive_and_drop and arrive_and_wait never introduce data races with themselves or each other.
Exceptions
Throws nothing.
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
arrive at the synchronization point and block
arrive_and_wait (public member function)
Pages related to std::experimental::barrier::arrive_and_drop
- std::experimental::barrier::arrive_and_wait (3) - std::experimental::barrier::arrive_and_wait
- std::experimental::barrier::barrier (3) - std::experimental::barrier::barrier
- std::experimental::barrier::~barrier (3) - std::experimental::barrier::~barrier
- std::experimental::barrier (3) - std::experimental::barrier
- std::experimental::bad_any_cast (3) - std::experimental::bad_any_cast
- std::experimental::bad_optional_access (3) - std::experimental::bad_optional_access
- std::experimental::basic_string_view (3) - std::experimental::basic_string_view
- std::experimental::basic_string_view<CharT,Traits>::at (3) - std::experimental::basic_string_view<CharT,Traits>::at
- std::experimental::basic_string_view<CharT,Traits>::back (3) - std::experimental::basic_string_view<CharT,Traits>::back
- std::experimental::basic_string_view<CharT,Traits>::basic_string_view (3) - std::experimental::basic_string_view<CharT,Traits>::basic_string_view
- std::experimental::basic_string_view<CharT,Traits>::begin, (3) - std::experimental::basic_string_view<CharT,Traits>::begin,
- std::experimental::basic_string_view<CharT,Traits>::begin,std::experimental::basic_string_view<CharT,Traits>::cbegin (3) - std::experimental::basic_string_view<CharT,Traits>::begin,std::experimental::basic_string_view<CharT,Traits>::cbegin
- std::experimental::basic_string_view<CharT,Traits>::compare (3) - std::experimental::basic_string_view<CharT,Traits>::compare
- std::experimental::basic_string_view<CharT,Traits>::copy (3) - std::experimental::basic_string_view<CharT,Traits>::copy
- std::experimental::basic_string_view<CharT,Traits>::data (3) - std::experimental::basic_string_view<CharT,Traits>::data
- std::experimental::basic_string_view<CharT,Traits>::empty (3) - std::experimental::basic_string_view<CharT,Traits>::empty
- std::experimental::basic_string_view<CharT,Traits>::end, (3) - std::experimental::basic_string_view<CharT,Traits>::end,
- std::experimental::basic_string_view<CharT,Traits>::end,std::experimental::basic_string_view<CharT,Traits>::cend (3) - std::experimental::basic_string_view<CharT,Traits>::end,std::experimental::basic_string_view<CharT,Traits>::cend
- std::experimental::basic_string_view<CharT,Traits>::find (3) - std::experimental::basic_string_view<CharT,Traits>::find
- std::experimental::basic_string_view<CharT,Traits>::find_first_not_of (3) - std::experimental::basic_string_view<CharT,Traits>::find_first_not_of
- std::experimental::basic_string_view<CharT,Traits>::find_first_of (3) - std::experimental::basic_string_view<CharT,Traits>::find_first_of
- std::experimental::basic_string_view<CharT,Traits>::find_last_not_of (3) - std::experimental::basic_string_view<CharT,Traits>::find_last_not_of
- std::experimental::basic_string_view<CharT,Traits>::find_last_of (3) - std::experimental::basic_string_view<CharT,Traits>::find_last_of
- std::experimental::basic_string_view<CharT,Traits>::front (3) - std::experimental::basic_string_view<CharT,Traits>::front
- std::experimental::basic_string_view<CharT,Traits>::max_size (3) - std::experimental::basic_string_view<CharT,Traits>::max_size