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

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


explicit barrier( std::ptrdiff_t num_threads ); (1) (concurrency TS)
barrier( const barrier & ) = delete; (2) (concurrency TS)


1) Constructs a barrier for num_threads participating threads. The set of
participating threads is the first num_threads threads to arrive at the
synchronization point.
2) Copy constructor is deleted; barrier is not copyable.


num_threads - the number of participating threads for the barrier; must be
non-negative


If num_threads is zero, the set of participating threads is empty, and barrier can
only be destroyed.

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.