[lkml]   [2000]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Slow pthread_create() under high load
    "Khimenko Victor" <> writes:

    > AFAIK there are two issues: clone in 2.2 can not create sibling
    > (just child) and it'll lead to nasty problems since "parent" thread
    > can exit before "child" thread. In late 2.3.x it IS fixed.

    How do you think this should help? If you make all the threads
    siblings (of the initial thread), how should terminating one of them
    effect the others? If one threads dies of a SEGFAULT all the others
    must, too. Being siblings, they just continue to run. In the case of
    a normal multi-threaded application the parent will be the shell (or
    whatever program started the MT program). This program does not go on
    a reap the children.

    ---------------. drepper at ,-. 1325 Chesapeake Terrace
    Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
    Red Hat `--' drepper at `------------------------

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:57    [W:0.020 / U:1.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site