Message412438
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. |
|
Date |
User |
Action |
Args |
2022-02-03 11:44:05 | sa | set | recipients:
+ sa, pitrou, vstinner, Ben.Darnell, aeros |
2022-02-03 11:44:05 | sa | set | messageid: <1643888645.58.0.591248406502.issue41962@roundup.psfhosted.org> |
2022-02-03 11:44:05 | sa | link | issue41962 messages |
2022-02-03 11:44:05 | sa | create | |
|