-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Description
The _Py_atomic_load_relaxed_int32
macro is no longer used:
Lines 378 to 383 in d323997
// GH-89279: Force inlining by using a macro. | |
#if defined(_MSC_VER) && SIZEOF_INT == 4 | |
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) (assert(sizeof((ATOMIC_VAL)->_value) == 4), *((volatile int*)&((ATOMIC_VAL)->_value))) | |
#else | |
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) _Py_atomic_load_relaxed(ATOMIC_VAL) | |
#endif |
Lines 52 to 57 in d323997
// GH-89279: Force inlining by using a macro. | |
#if defined(_MSC_VER) && SIZEOF_INT == 4 | |
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) (assert(sizeof((ATOMIC_VAL)->_value) == 4), *((volatile int*)&((ATOMIC_VAL)->_value))) | |
#else | |
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) _Py_atomic_load_relaxed(ATOMIC_VAL) | |
#endif |
Linked PRs
Metadata
Metadata
Assignees
Labels
No labels