SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-105716: Support Background Threads in Subinterpreters Consistently (gh-109921)

The existence of background threads running on a subinterpreter was preventing interpreters from getting properly destroyed, as well as impacting the ability to run the interpreter again. It also affected how we wait for non-daemon threads to finish.

We add PyInterpreterState.threads.main, with some internal C-API functions.
E
Eric Snow committed
1dd9dee45d2591b4e701039d1673282380696849
Parent: a040a32
Committed by GitHub <noreply@github.com> on 10/2/2023, 8:12:12 PM