diff options
author | Victor Stinner <vstinner@python.org> | 2020-03-27 16:50:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 16:50:42 (GMT) |
commit | d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30 (patch) | |
tree | 009d56fe2dac5c1e920771297c9a08eb38d16ef8 /Misc | |
parent | 5a58c5280b8df4ca5d6a19892b24fff96e9ea868 (diff) | |
download | cpython-d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30.zip cpython-d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30.tar.gz cpython-d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30.tar.bz2 |
bpo-40089: Fix threading._after_fork() (GH-19191)
If fork was not called by a thread spawned by threading.Thread,
threading._after_fork() now creates a _MainThread instance for
_main_thread, instead of a _DummyThread instance.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-03-27-17-22-34.bpo-40089.-lFsD0.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-03-27-17-22-34.bpo-40089.-lFsD0.rst b/Misc/NEWS.d/next/Library/2020-03-27-17-22-34.bpo-40089.-lFsD0.rst new file mode 100644 index 0000000..f5335a3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-03-27-17-22-34.bpo-40089.-lFsD0.rst @@ -0,0 +1,3 @@ +Fix threading._after_fork(): if fork was not called by a thread spawned by +threading.Thread, threading._after_fork() now creates a _MainThread instance +for _main_thread, instead of a _DummyThread instance. |