From 8fb28b0b3e7a5e958fb844722a4b2ef9bc244af1 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Fri, 16 Sep 2016 20:54:00 -0400 Subject: add pthread_setname_np the thread name is displayed by gdb's "info threads". --- include/pthread.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/pthread.h b/include/pthread.h index 3d2e0c45..94ef919c 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -214,6 +214,7 @@ struct cpu_set_t; int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); int pthread_getattr_np(pthread_t, pthread_attr_t *); +int pthread_setname_np(pthread_t, const char *); int pthread_tryjoin_np(pthread_t, void **); int pthread_timedjoin_np(pthread_t, void **, const struct timespec *); #endif -- cgit v1.2.1