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 <vstinner@python.org>
|
@vstinner: Status check is done, and it's a success ✅ . |
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 vstinner@python.org
https://bugs.python.org/issue40089