Message342199
In the std lib, the semaphore_tracker and the Manager rely on daemonized processes that are launched with server like loops. The cleaning of such processes is made complicated by the fact that there is no cannonical way to check that the parent process is alive.
I propose to add in context a parent_process function that would give access to a Process object representing the parent process. This way, we could benefit from sentinel to improve the clean up of this process that can be left dangling in case of hard stop from the main interpreter. |
|
Date |
User |
Action |
Args |
2019-05-11 15:36:32 | tomMoral | set | recipients:
+ tomMoral |
2019-05-11 15:36:32 | tomMoral | set | messageid: <1557588992.87.0.32954176975.issue36888@roundup.psfhosted.org> |
2019-05-11 15:36:32 | tomMoral | link | issue36888 messages |
2019-05-11 15:36:32 | tomMoral | create | |
|