Skip to content

Commit 639cc24

Browse files
committed
remove useless atomic
1 parent b2e9bca commit 639cc24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/gcmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ gc_get_count_impl(PyObject *module)
234234
#else
235235
return Py_BuildValue("(iii)",
236236
_Py_atomic_load_int_relaxed(&gcstate->young.count),
237-
_Py_atomic_load_int_relaxed(&gcstate->old[0].count),
238-
_Py_atomic_load_int_relaxed(&gcstate->old[1].count));
237+
gcstate->old[0].count,
238+
gcstate->old[1].count);
239239
#endif
240240
}
241241

0 commit comments

Comments
 (0)