Author tomMoral
Recipients tomMoral
Date 2019-05-11.15:36:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557588992.87.0.32954176975.issue36888@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-11 15:36:32tomMoralsetrecipients: + tomMoral
2019-05-11 15:36:32tomMoralsetmessageid: <1557588992.87.0.32954176975.issue36888@roundup.psfhosted.org>
2019-05-11 15:36:32tomMorallinkissue36888 messages
2019-05-11 15:36:32tomMoralcreate