This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sa
Recipients Ben.Darnell, aeros, pitrou, sa, vstinner
Date 2022-02-03.11:44:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643888645.58.0.591248406502.issue41962@roundup.psfhosted.org>
In-reply-to
Content
Another way to do this is to call threading.main_thread().join() in another thread and do the shutdown cleanup when it returns.

The main thread is stopped at shutdown just before the threading._threading_atexits are called.
History
Date User Action Args
2022-02-03 11:44:05sasetrecipients: + sa, pitrou, vstinner, Ben.Darnell, aeros
2022-02-03 11:44:05sasetmessageid: <1643888645.58.0.591248406502.issue41962@roundup.psfhosted.org>
2022-02-03 11:44:05salinkissue41962 messages
2022-02-03 11:44:05sacreate