[lkml]   [1999]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: linuxthreads and tid testing
    Eric PAIRE <> 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 ,-. 1325 Chesapeake Terrace
    Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
    Cygnus Solutions `--' 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:53    [W:0.023 / U:10.952 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site