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

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


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.


Throws nothing.


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.


arrive_and_wait arrive at the synchronization point and block
(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.