mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
GH-117760: Streamline the trashcan mechanism (GH-117763)
This commit is contained in:
parent
c917b3e8e1
commit
147cd0581e
5 changed files with 44 additions and 129 deletions
|
@ -1485,6 +1485,8 @@ init_threadstate(_PyThreadStateImpl *_tstate,
|
|||
tstate->what_event = -1;
|
||||
tstate->previous_executor = NULL;
|
||||
|
||||
tstate->delete_later = NULL;
|
||||
|
||||
llist_init(&_tstate->mem_free_queue);
|
||||
|
||||
if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue