Skip to content

Commit 0d9bcd3

Browse files
committed
Fix news
1 parent 44de41e commit 0d9bcd3

File tree

1 file changed

+1
-7
lines changed

1 file changed

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

Comments
 (0)