Skip to content

Comments

[3.8] bpo-40089: Fix threading._after_fork() (GH-19191)#19194

Merged
vstinner merged 1 commit intopython:3.8from
miss-islington:backport-d8ff44c-3.8
Apr 7, 2020
Merged

[3.8] bpo-40089: Fix threading._after_fork() (GH-19191)#19194
vstinner merged 1 commit intopython:3.8from
miss-islington:backport-d8ff44c-3.8

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 27, 2020

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 d8ff44c)

Co-authored-by: Victor Stinner [email protected]

https://bugs.python.org/issue40089

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 d8ff44c)

Co-authored-by: Victor Stinner <[email protected]>
@miss-islington
Copy link
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@vstinner vstinner merged commit 6318e45 into python:3.8 Apr 7, 2020
@miss-islington miss-islington deleted the backport-d8ff44c-3.8 branch April 7, 2020 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants