lkml.org 
[lkml]   [2011]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [path][rfc] add PR_DETACH prctl command [3/3]
    On Tue, 19 Apr 2011 18:54:34 +0400
    Stas Sergeev <stsp@aknet.ru> wrote:

    > The attached patch implements the PR_DETACH prctl
    > command. It detaches the entire process group from
    > its parent, allowing the parent to still read the detach
    > code with normal wait(). If the process then exits, the
    > notification of the new parent is delayed till the old parent
    > does either wait() to read the detach code, or exits.

    What is the use case for this and why won't existing process group
    interfaces do the job ?


    \
     
     \ /
      Last update: 2011-04-19 16:59    [W:0.018 / U:0.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site