8000 Merge branch 'disallow-thread-creation-and-fork-at-interp-exit' of gi… · python/cpython@1c51471 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c51471

Browse files
committed
Merge branch 'disallow-thread-creation-and-fork-at-interp-exit' of github.com:chgnrdv/cpython into disallow-thread-creation-and-fork-at-interp-exit
2 parents d26b8db + 530f785 commit 1c51471

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Starting new threads and process creation through fork/vfork at interpreter exit is no longer supported, as it can lead to race condition between main Python thread freeing existing thread states and :func:`_thread.start_new_thread` trying to allocate and use state of just created thread or fork/vfork trying to use main thread state in child process.

0 commit comments

Comments
 (0)
0