Re: [RFC] set the thread name

From: Stefani Seibold
Date: Tue Jun 16 2009 - 15:40:56 EST


Am Dienstag, den 16.06.2009, 21:14 +0200 schrieb Bert Wesarg:
> Hi,
>
> On Tue, Jun 16, 2009 at 20:39, Stefani Seibold<stefani@xxxxxxxxxxx> wrote:
> > Currently it is not easy to identify a thread in linux, because there is
> > no thread name like in some other OS.
> >
> > If there were are thread name then we could extend a kernel segv message
> > and the /proc/<pid>/task/<tid>/... entries by a TName value like this:
> prctl(PR_SET_NAME, ...) works perfectly here.
>
Ooops... I did not noticed that this is already implemented. Thats works
perfectly ;-)



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