lkml.org 
[lkml]   [1999]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: linuxthreads and tid testing
    From
    Date
    Eric PAIRE <eric.paire@ri.silicomp.com> writes:

    > I don't really understand why a kernel patch is needed to have a uniq
    > PID for a thread. I would have implemented a getpid() in the libpthread
    > (hiding the getpid() from libc), as well as a getppid().

    And how do you handle things like credentials? These data structures
    are filled by the kernel. Send such a package from a thread and the
    receiver will see the PID of the thread, and not the manager.

    There are certainly other situations like this. An only-user-level
    solution cannot work.

    --
    ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
    Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
    Cygnus Solutions `--' drepper at cygnus.com `------------------------

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

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