[PATCH 0/3] Uncontroversial improvements to C++20 wait-related implementation
Thiago Macieira
thiago.macieira@intel.com
Fri Mar 5 18:21:25 GMT 2021
Discussion at:
https://gcc.gnu.org/pipermail/libstdc++/2021-February/052043.html
This patch set includes the uncontroversial parts that improve
performance but don't otherwise change ABI.
Please note we still need to decide on how to deal with the future ABI
break.
Thiago Macieira (3):
Atomic __platform_wait: accept any 32-bit type, not just int
std::latch: reduce internal implementation from ptrdiff_t to int
barrier: optimise by not having the hasher in a loop
libstdc++-v3/include/bits/atomic_wait.h | 7 ++++---
libstdc++-v3/include/std/barrier | 10 +++++-----
libstdc++-v3/include/std/latch | 4 ++--
3 files changed, 11 insertions(+), 10 deletions(-)
--
2.30.1
More information about the Libstdc++
mailing list