std::experimental::flex_barrier::arrive_and_drop (3) - Linux Manuals
std::experimental::flex_barrier::arrive_and_drop: std::experimental::flex_barrier::arrive_and_drop
Command to display std::experimental::flex_barrier::arrive_and_drop
manual in Linux: $ man 3 std::experimental::flex_barrier::arrive_and_drop
NAME
std::experimental::flex_barrier::arrive_and_drop - std::experimental::flex_barrier::arrive_and_drop
Synopsis
void arrive_and_drop(); (concurrency TS)
Arrive at the flex_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. If the function blocks, the calling thread may be chosen to execute the completion phase.
The behavior is undefined if the calling thread is not in the set of participating threads of this flex_barrier.
Calls to arrive_and_drop synchronizes with the start of the completion phase of the flex_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
The completion phase will be executed even if every participating thread calls arrive_and_drop.
After a thread calls arrive_and_drop on a flex_barrier, it cannot call any member function on that barrier except for the destructor, even if the function object invoked by the completion phase returns a positive value.
See also
arrive at the synchronization point and block
arrive_and_wait (public member function)
Pages related to std::experimental::flex_barrier::arrive_and_drop
- std::experimental::flex_barrier::arrive_and_wait (3) - std::experimental::flex_barrier::arrive_and_wait
- std::experimental::flex_barrier::flex_barrier (3) - std::experimental::flex_barrier::flex_barrier
- std::experimental::flex_barrier::~flex_barrier (3) - std::experimental::flex_barrier::~flex_barrier
- std::experimental::flex_barrier (3) - std::experimental::flex_barrier
- std::experimental::filesystem::absolute,std::experimental::filesystem::system_complete (3) - std::experimental::filesystem::absolute,std::experimental::filesystem::system_complete
- std::experimental::filesystem::begin(directory_iterator), (3) - std::experimental::filesystem::begin(directory_iterator),
- std::experimental::filesystem::begin(directory_iterator),std::experimental::filesystem::end(directory_iterator) (3) - std::experimental::filesystem::begin(directory_iterator),std::experimental::filesystem::end(directory_iterator)
- std::experimental::filesystem::begin(recursive_directory_iterator), (3) - std::experimental::filesystem::begin(recursive_directory_iterator),
- std::experimental::filesystem::begin(recursive_directory_iterator),std::experimental::filesystem::end(recursive_directory_iterator) (3) - std::experimental::filesystem::begin(recursive_directory_iterator),std::experimental::filesystem::end(recursive_directory_iterator)
- std::experimental::filesystem::canonical (3) - std::experimental::filesystem::canonical
- std::experimental::filesystem::copy (3) - std::experimental::filesystem::copy
- std::experimental::filesystem::copy_file (3) - std::experimental::filesystem::copy_file
- std::experimental::filesystem::copy_options (3) - std::experimental::filesystem::copy_options
- std::experimental::filesystem::copy_symlink (3) - std::experimental::filesystem::copy_symlink
- std::experimental::filesystem::create_directory, (3) - std::experimental::filesystem::create_directory,
- std::experimental::filesystem::create_directory,std::experimental::filesystem::create_directories (3) - std::experimental::filesystem::create_directory,std::experimental::filesystem::create_directories
- std::experimental::filesystem::create_hard_link (3) - std::experimental::filesystem::create_hard_link
- std::experimental::filesystem::create_symlink, (3) - std::experimental::filesystem::create_symlink,
- std::experimental::filesystem::create_symlink,std::experimental::filesystem::create_directory_symlink (3) - std::experimental::filesystem::create_symlink,std::experimental::filesystem::create_directory_symlink
- std::experimental::filesystem::current_path (3) - std::experimental::filesystem::current_path
- std::experimental::filesystem::directory_entry (3) - std::experimental::filesystem::directory_entry
- std::experimental::filesystem::directory_entry::assign (3) - std::experimental::filesystem::directory_entry::assign
- std::experimental::filesystem::directory_entry::directory_entry (3) - std::experimental::filesystem::directory_entry::directory_entry
- std::experimental::filesystem::directory_entry::operator= (3) - std::experimental::filesystem::directory_entry::operator=