summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-01-16 16:14:56 (GMT)
committerGitHub <noreply@github.com>2024-01-16 16:14:56 (GMT)
commit867f59f234a4135901070a386d55327e44ee1b7a (patch)
tree4efd9688579f18cdf080c869d74c6bbdaccd14d1 /Python/pystate.c
parentd2d8332f71ae8059150a9d8d91498493f9b443fc (diff)
downloadcpython-867f59f234a4135901070a386d55327e44ee1b7a.zip
cpython-867f59f234a4135901070a386d55327e44ee1b7a.tar.gz
cpython-867f59f234a4135901070a386d55327e44ee1b7a.tar.bz2
gh-111968: Use per-thread freelists for PyContext in free-threading (gh-114122)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 01dc86f..8374223 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -1461,6 +1461,7 @@ _Py_ClearFreeLists(_PyFreeListState *state, int is_finalization)
_PyFloat_ClearFreeList(state, is_finalization);
_PyTuple_ClearFreeList(state, is_finalization);
_PyList_ClearFreeList(state, is_finalization);
+ _PyContext_ClearFreeList(state, is_finalization);
}
void