|
explicitnoexcept |
Constructs a barrier associated with a specified number of threads to wait at synchronization points and optionally with a specified completion routine.
| count | A number of threads to wait at synchronization points specified with the constructed barrier. The behaviour is undefined for negative values of count. If the value is zero, the constructed barrier cannot be used for blocking synchronization. |
| on_completion | A functional object called by the constructed barrier upon its openings. |