You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a TSAN-reported data race and potential use-after-free when shutting
2
-
down a subinterpreter with running daemon threads in free-threaded (NOGIL)
3
-
builds. The interpreter state could be freed while daemon threads still
4
-
accessed tstate->interp (e.g. during time.sleep). PyInterpreterState now
5
-
keeps an atomic owner refcount and is only finalized/freed when the last
6
-
PyThreadState is destroyed. This fixes
7
-
test_threading.test_daemon_threads_fatal_error.
1
+
Fix a TSAN-reported data race and potential use-after-free when shutting down a subinterpreter with running daemon threads in free-threaded (NOGIL) builds.
0 commit comments