mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
gh-111968: Use per-thread freelists for generator in free-threading (gh-114189)
This commit is contained in:
parent
2d3f6b56c5
commit
7fa511ba57
9 changed files with 48 additions and 74 deletions
|
@ -12,7 +12,6 @@ void
|
|||
_PyGC_ClearAllFreeLists(PyInterpreterState *interp)
|
||||
{
|
||||
_PyDict_ClearFreeList(interp);
|
||||
_PyAsyncGen_ClearFreeLists(interp);
|
||||
|
||||
_Py_ClearFreeLists(&interp->freelist_state, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue