[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: process name setting



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 `---------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]