Re: process name setting

Ulrich Drepper <[email protected]> Mon, 22 Sep 2003 15:34:54 -0700
Newsgroups gmane.comp.lib.phil
Organization Red Hat, Inc.
Message-ID <[email protected]>
Chris Caputo wrote:
> I'm guessing this can't be done since all the threads are sharing the same
> memory, and thus they all have the same argv[0], but is there a way to set
> the NPTL process names ala setproctitle()?

No.  This functionality depends on spcific memory addresses.  Since the
address space isshared by all threads nothing like this works.  Beside,
the threads don't have separate /proc entries in the 2.6 kernel.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------