mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-111968: Rename freelist related struct names to Eric's suggestion (gh-115329)
This commit is contained in:
parent
518af37eb5
commit
f15795c9a0
19 changed files with 189 additions and 206 deletions
|
@ -1548,8 +1548,8 @@ PyThreadState_Clear(PyThreadState *tstate)
|
|||
}
|
||||
#ifdef Py_GIL_DISABLED
|
||||
// Each thread should clear own freelists in free-threading builds.
|
||||
_PyFreeListState *freelist_state = _PyFreeListState_GET();
|
||||
_PyObject_ClearFreeLists(freelist_state, 1);
|
||||
struct _Py_object_freelists *freelists = _Py_object_freelists_GET();
|
||||
_PyObject_ClearFreeLists(freelists, 1);
|
||||
|
||||
// Remove ourself from the biased reference counting table of threads.
|
||||
_Py_brc_remove_thread(tstate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue