diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-04-09 01:09:24 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-04-09 01:09:24 -0700 |
commit | 86a4c67fb91b82c7b47c115b88ab01b1a696f10f (patch) | |
tree | a0cc88b9d0e063153cf6c3aba1aed2cfdfa5a6a8 /nptl/Versions | |
parent | 80a18ba74d658d9216173b60382ef1c87aa1ae06 (diff) | |
download | glibc-86a4c67fb91b82c7b47c115b88ab01b1a696f10f.tar glibc-86a4c67fb91b82c7b47c115b88ab01b1a696f10f.tar.gz glibc-86a4c67fb91b82c7b47c115b88ab01b1a696f10f.tar.bz2 glibc-86a4c67fb91b82c7b47c115b88ab01b1a696f10f.zip |
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.
Diffstat (limited to 'nptl/Versions')
-rw-r--r-- | nptl/Versions | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/Versions b/nptl/Versions index 1f2de79fd4..f74941fa92 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -247,6 +247,8 @@ libpthread { GLIBC_2.12 { pthread_mutex_consistent; pthread_mutexattr_getrobust; pthread_mutexattr_setrobust; + + pthread_setname_np; pthread_getname_np; }; GLIBC_PRIVATE { |