Re: improve future::poll calibration loop

2021-03-31 Thread Alexandre Oliva
On Mar 27, 2021, Jonathan Wakely wrote: > OK, thanks. Thanks, I'm finally checking this in. >> for libstdc++-v3/ChangeLog >> >> * testsuite/30_threads/future/members/poll.cc: Use faster >> after-ready call in the calibration loop. Thanks for the patch and for having kept me posted on the ra

Re: improve future::poll calibration loop

2021-03-27 Thread Jonathan Wakely via Gcc-patches
On 26/03/21 02:50 -0300, Alexandre Oliva wrote: The calibration loop I've recently added to the libstdc++ future/members/poll.cc tests could still select iteration counts that might yield zero-time measurements for the wait_for when ready loop. Waiting for a future that has already had a value