summaryrefslogtreecommitdiff
path: root/sysdeps/htl/pthreadP.h
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2025-11-18 14:50:43 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-11-18 15:01:35 +0100
commitbb3524a879fdcaa3588d811ab6494c04fce75a76 (patch)
treede4606bc393bd9ef47c8176c617b1f62b2c7aaef /sysdeps/htl/pthreadP.h
parent77f446346a678f54cf10945d159ccdd2869769a2 (diff)
htl: move pthread_getname_np/setname_np into libc.
Message-ID: <20251118125044.1160780-2-gfleury@disroot.org>
Diffstat (limited to 'sysdeps/htl/pthreadP.h')
-rw-r--r--sysdeps/htl/pthreadP.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h
index 5fb6469714..6ea1e79a92 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -225,6 +225,11 @@ int __pthread_setconcurrency (int __new_level);
libc_hidden_proto (__pthread_setconcurrency)
int __pthread_getconcurrency (void);
libc_hidden_proto (__pthread_getconcurrency)
+int __pthread_getname_np (pthread_t __target_thread, char *__buf,
+ size_t __buflen);
+libc_hidden_proto (__pthread_getname_np)
+int __pthread_setname_np (pthread_t __target_thread, const char *__name);
+libc_hidden_proto (__pthread_setname_np)
#define __pthread_raise_internal(__sig) raise (__sig)