aboutsummaryrefslogtreecommitdiff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-04-09 01:09:24 -0700
committerUlrich Drepper <drepper@redhat.com>2010-04-09 01:09:24 -0700
commit86a4c67fb91b82c7b47c115b88ab01b1a696f10f (patch)
treea0cc88b9d0e063153cf6c3aba1aed2cfdfa5a6a8 /nptl/Makefile
parent80a18ba74d658d9216173b60382ef1c87aa1ae06 (diff)
downloadglibc-86a4c67fb91b82c7b47c115b88ab01b1a696f10f.zip
glibc-86a4c67fb91b82c7b47c115b88ab01b1a696f10f.tar.gz
glibc-86a4c67fb91b82c7b47c115b88ab01b1a696f10f.tar.bz2
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/Makefile')
-rw-r--r--nptl/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index a7b53ed..982db8e 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2008,2009 Free Software Foundation, Inc.
+# Copyright (C) 2002-2008,2009,2010 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -124,7 +124,9 @@ libpthread-routines = nptl-init vars events version \
pthread_mutexattr_setprotocol \
pthread_mutexattr_getprioceiling \
pthread_mutexattr_setprioceiling tpp \
- pthread_mutex_getprioceiling pthread_mutex_setprioceiling
+ pthread_mutex_getprioceiling \
+ pthread_mutex_setprioceiling \
+ pthread_setname pthread_getname
# pthread_setuid pthread_seteuid pthread_setreuid \
# pthread_setresuid \
# pthread_setgid pthread_setegid pthread_setregid \