From 86a4c67fb91b82c7b47c115b88ab01b1a696f10f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Apr 2010 01:09:24 -0700 Subject: 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. --- nptl/Versions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nptl/Versions') diff --git a/nptl/Versions b/nptl/Versions index 1f2de79..f74941f 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 { -- cgit v1.1