lkml.org 
[lkml]   [2003]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] Re: Problem with exiting threads under NPTL


    On Sun, 14 Dec 2003, Ingo Molnar wrote:
    >
    > are you sure this can happen? eligible_child() does this:

    Interesting. That code should have been enough, but we've later on added
    extra code into wait_task_zombie to check _exactly_ the same case because
    we saw problems.

    Hmm.. Maybe that was to protect against concurrent wait4()'ers (which can
    happen - the wait case only takes the read lock). Threads can wait for
    each others children, after all.

    Linus
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-11-18 23:46    [W:0.025 / U:123.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site