diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-04-07 21:35:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 21:35:52 (GMT) |
commit | 6318e45bda6c37d5497f33a6039cdb65aa494c93 (patch) | |
tree | 9af2ffc756eb437e9d9d0e0bc1fdf393eb2cf095 /Objects/codeobject.c | |
parent | 8bd84e7f79a6cc7670a89a92edba3015aa781758 (diff) | |
download | cpython-6318e45bda6c37d5497f33a6039cdb65aa494c93.zip cpython-6318e45bda6c37d5497f33a6039cdb65aa494c93.tar.gz cpython-6318e45bda6c37d5497f33a6039cdb65aa494c93.tar.bz2 |
bpo-40089: Fix threading._after_fork() (GH-19191) (GH-19194)
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.
(cherry picked from commit d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions