8000 gh-131121: Fix `_Py_atomic_store_char_relaxed` memory order (gh-131122) · python/cpython@7ffe93f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ffe93f

Browse files
authored
gh-131121: Fix _Py_atomic_store_char_relaxed memory order (gh-131122)
1 parent 1fb7e2a commit 7ffe93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/cpython/pyatomic_gcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ _Py_atomic_store_ullong_relaxed(unsigned long long *obj,
519519

520520
static inline void
521521
_Py_atomic_store_char_relaxed(char *obj, char value)
522-
{ __atomic_store_n(obj, value, __ATOMIC_RELEASE); }
522+
{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
523523

524524
static inline void
525525
_Py_atomic_store_uchar_relaxed(unsigned char *obj, unsigned char value)

0 commit comments

Comments
 (0)
0