Re: calibrate intervals to avoid zero in futures poll test

2021-02-08 Thread Christophe Lyon via Gcc-patches
On Thu, 14 Jan 2021 at 19:57, Alexandre Oliva wrote: > > On Jan 14, 2021, Jonathan Wakely wrote: > > >> + /* Got for some 10 cycles, but we're already past that and still > > > I can't parse "Got for some 10 cycles". If that's just a typo > > Yeah, I meant "Go for ... but if ..." and managed

Re: calibrate intervals to avoid zero in futures poll test

2021-01-14 Thread Alexandre Oliva
On Jan 14, 2021, Jonathan Wakely wrote: >> + /* Got for some 10 cycles, but we're already past that and still > I can't parse "Got for some 10 cycles". If that's just a typo Yeah, I meant "Go for ... but if ..." and managed to double-mangle it. Thanks for spotting it. Here's the patch I'm

Re: calibrate intervals to avoid zero in futures poll test

2021-01-14 Thread Jonathan Wakely via Gcc-patches
On 05/01/21 04:44 -0300, Alexandre Oliva wrote: We get occasional failures of 30_threads/future/members/poll.cc on some platforms whose high resolution clock doesn't have such a high resolution; wait_for_0 ends up as 0, and then some asserts fail as intervals measured as longer than zero are tes

Re: calibrate intervals to avoid zero in futures poll test

2021-01-13 Thread Alexandre Oliva
On Jan 5, 2021, Alexandre Oliva wrote: > We get occasional failures of 30_threads/future/members/poll.cc > on some platforms whose high resolution clock doesn't have such a high > resolution; wait_for_0 ends up as 0, and then some asserts fail as > intervals measured as longer than zero are test