Re: [PATCH] [libstdc++] Cleanup atomic timed wait implementation

2021-06-23 Thread Jonathan Wakely via Gcc-patches
On Fri, 4 Jun 2021 at 23:31, Thomas Rodgers wrote: > > This cleans up the implementation of atomic_timed_wait.h and fixes the > accidental pessimization of spinning after waiting in > __timed_waiter_pool::_M_do_wait_until. This one's still pending review, right? > > libstdc++-v3/ChangeLog: > >

[PATCH] [libstdc++] Cleanup atomic timed wait implementation

2021-06-04 Thread Thomas Rodgers
This cleans up the implementation of atomic_timed_wait.h and fixes the accidental pessimization of spinning after waiting in __timed_waiter_pool::_M_do_wait_until. libstdc++-v3/ChangeLog: * include/bits/atomic_timed_wait.h (__wait_clock_t): Define conditionally. (__cond_wa