Skip to content

Commit 3c22a3d

Browse files
committed
add blurb
1 parent b478d5e commit 3c22a3d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
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.

0 commit comments

Comments
 (0)