GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::barrier::arrive_and_drop(3) C++ Standard Libary std::barrier::arrive_and_drop(3)

std::barrier::arrive_and_drop - std::barrier::arrive_and_drop


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 current phase.


The behavior is undefined if the expected count for the current phase is zero.


(none)


(none)


Throws std::system_error with an error code allowed for mutex types on error.


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.


This section is incomplete
Reason: no example

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.