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::wait(3) C++ Standard Libary std::barrier::wait(3)

std::barrier::wait - std::barrier::wait


void wait( arrival_token&& arrival ) const; (since C++20)


If arrival is associated with the phase synchronization point for the current phase
of *this, blocks at the synchronization point associated with arrival until the
phase completion step of the synchronization point's phase is run.


Otherwise, if arrival is associated with the phase synchronization point for the
immediately preceding phase of *this, returns immediately.


Otherwise, i.e. if arrival is associated with the phase synchronization point for an
earlier phase of *this or any phase of a barrier object other than *this, the
behavior is undefined.


arrival - an arrival_token obtained by a previous call to arrive on the same barrier


(none)


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


This section is incomplete
Reason: no example


arrive arrives at barrier and decrements the expected count
(public member function)

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.