[ 
https://issues.apache.org/jira/browse/MESOS-5049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214464#comment-15214464
 ] 

Joerg Schad commented on MESOS-5049:
------------------------------------

'''commit 5914f571ea569777c8bda497a3eb1e6878ea8eb5
Author: Joerg Schad [email protected]
Date:   Mon Mar 28 17:35:19 2016 +0200

Subprocess: [7/7] Added watchdog to 'du' disk isolator process.

The disk isolator process should also be killed when
the parent process dies.

Review: https://reviews.apache.org/r/45245/
'''

> Refactore subproces setup functions.
> ------------------------------------
>
>                 Key: MESOS-5049
>                 URL: https://issues.apache.org/jira/browse/MESOS-5049
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Joerg Schad
>            Assignee: Joerg Schad
>
> Executing arbitrary setup functions while creating new processes is
> dangerous as all functions called have to be async safe. As setup
> functions are used for only very few purposes (setsid, chdir, monitoring
> and killing a process (see upcoming review) it makes sense to support
> them safely via parameters to subprocess. 
> Another common use of child setup are is to block the child while doing some 
> work in the parent. This pattern can be more cleanly expressed with 
> parentHooks. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to