mirror of
https://github.com/python/cpython.git
synced 2026-08-02 22:52:58 +08:00
There are places we use "relaxed" loads where C11 requires "consume" or stronger. Unfortunately, compilers don't really implement "consume" so fake it for our use in a way that avoids upsetting TSan. (cherry picked from commit 0a62f8277e9a0dd9f34b0b070adb83994e81b2a8) Co-authored-by: Sam Gross <colesbury@gmail.com>