cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

US 63-131 33.9.3.3 [thread.barrier.class] Thread for running completion function #541

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

barrier is over-constrained, requiring implementations to run the CompletionFunction on the last thread that arrives at the barrier during the phase. This prevents barrier from benefiting from hardware acceleration for thread synchronization on certain platforms.

Proposed change:

Adopt P2588, which relaxes barrier’s phase completion guarantees.

brycelelbach commented 1 year ago

The proposed resolution is to adopt P2588 https://github.com/cplusplus/papers/issues/1246

jensmaurer commented 1 year ago

Accepted.