Implement interfaces to set and get names of threads.
commit86a4c67fb91b82c7b47c115b88ab01b1a696f10f
authorUlrich Drepper <drepper@redhat.com>
Fri, 9 Apr 2010 08:09:24 +0000 (9 01:09 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 9 Apr 2010 08:09:24 +0000 (9 01:09 -0700)
treea0cc88b9d0e063153cf6c3aba1aed2cfdfa5a6a8
parent80a18ba74d658d9216173b60382ef1c87aa1ae06
Implement interfaces to set and get names of threads.

At least the Linux kernel provides field where the kernel originally
stores the command which is executed by the thread.  The value can
subsequently be overwritten.  The added functions allow to do that for
threads, providing and abstraction around the syscalls or /proc file
system accesses needed.
NEWS
nptl/ChangeLog
nptl/Makefile
nptl/Versions
nptl/sysdeps/pthread/pthread.h
nptl/sysdeps/unix/sysv/linux/pthread_getname.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/pthread_setname.c [new file with mode: 0644]