There was an error while loading. Please reload this page.
_Py_atomic_store_uint_release
1 parent 8be3b2f commit 7800b78Copy full SHA for 7800b78
1 file changed
Include/cpython/pyatomic_std.h
@@ -948,14 +948,6 @@ _Py_atomic_store_ushort_relaxed(unsigned short *obj, unsigned short value)
948
memory_order_relaxed);
949
}
950
951
-static inline void
952
-_Py_atomic_store_uint_release(unsigned int *obj, unsigned int value)
953
-{
954
- _Py_USING_STD;
955
- atomic_store_explicit((_Atomic(unsigned int)*)obj, value,
956
- memory_order_relaxed);
957
-}
958
-
959
static inline void
960
_Py_atomic_store_long_relaxed(long *obj, long value)
961
{
@@ -1031,6 +1023,14 @@ _Py_atomic_store_int_release(int *obj, int value)
1031
1023
memory_order_release);
1032
1024
1033
1025
1026
+static inline void
1027
+_Py_atomic_store_uint_release(unsigned int *obj, unsigned int value)
1028
+{
1029
+ _Py_USING_STD;
1030
+ atomic_store_explicit((_Atomic(unsigned int)*)obj, value,
+ memory_order_release);
+}
+
1034
1035
_Py_atomic_store_ssize_release(Py_ssize_t *obj, Py_ssize_t value)
1036
0 commit comments