FreeBSD Manual Pages
std::barrie...ive_and_drop(3) C++ Standard Libarystd::barrie...ive_and_drop(3) NAME std::barrier::arrive_and_drop - std::barrier::arrive_and_drop Synopsis void arrive_and_drop(); (since C++20) Decrements the initial expected count for all subsequent phases by one, and then decrements the expected count for the current phase by one. This function is executed atomically. The call to this function strongly happens-before the start of the phase completion step for the cur- rent phase. The behavior is undefined if the expected count for the current phase is zero. Parameters (none) Return value (none) Exceptions Throws std::system_error with an error code allowed for mutex types on error. Notes This function can cause the completion step for the current phase to start. If the current expected count is zero before calling this function, the initial expected count for all subsequent phases is also zero, which means the barrier cannot be reused. Example This section is incomplete Reason: no example http://cppreference.com 2022.07.31 std::barrie...ive_and_drop(3)
NAME | Synopsis | Parameters | Return value | Exceptions | Notes | Example
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::barrier::arrive_and_drop&sektion=3&manpath=FreeBSD+Ports+15.0>
