[PATCH] Strengthen memory memory order for atomic<T>::wait/notify

Thomas Rodgers trodgers@redhat.com
Sun Jan 16 01:47:44 GMT 2022


This patch updates the memory order of atomic accesses to the waiter's
count to match libc++'s usage. It should be backported to GCC11.

Tested x86_64-pc-linux-gnu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Strengthen-memory-memory-order-for-atomic-T-wait-not.patch
Type: text/x-patch
Size: 2023 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20220115/32fcc613/attachment.bin>


More information about the Libstdc++ mailing list