gh-131121: Fix _Py_atomic_store_char_relaxed memory order (gh-131122)

This commit is contained in:
Sam Gross 2025-03-12 09:03:04 -04:00 committed by GitHub
parent 1fb7e2aeb7
commit 7ffe93faf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -519,7 +519,7 @@ _Py_atomic_store_ullong_relaxed(unsigned long long *obj,
static inline void
_Py_atomic_store_char_relaxed(char *obj, char value)
{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
static inline void
_Py_atomic_store_uchar_relaxed(unsigned char *obj, unsigned char value)