You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joerg Schad (JIRA)" <ji...@apache.org> on 2016/03/28 18:49:25 UTC

[jira] [Created] (MESOS-5049) Refactore subproces setup functions.

Joerg Schad created MESOS-5049:
----------------------------------

             Summary: 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)