summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/include/pthread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h
index 46f54206f..516131d83 100644
--- a/newlib/libc/include/pthread.h
+++ b/newlib/libc/include/pthread.h
@@ -170,6 +170,12 @@ int _EXFUN(pthread_setschedprio, (pthread_t thread, int prio));
#endif /* defined(_POSIX_THREAD_PRIORITY_SCHEDULING) */
+#if __GNU_VISIBLE
+int pthread_getname_np(pthread_t, char *, size_t) __nonnull(2);
+
+int pthread_setname_np(pthread_t, const char *) __nonnull(2);
+#endif
+
#if defined(_POSIX_THREAD_PRIO_INHERIT) || defined(_POSIX_THREAD_PRIO_PROTECT)
/* Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128 */