]> sourceware.org Git - glibc.git/commit
Add pthread_getname_np and pthread_setname_np for Hurd
authorFlavio Cruz <flaviocruz@gmail.com>
Thu, 11 Jul 2024 22:37:35 +0000 (23:37 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 16 Jul 2024 07:21:52 +0000 (09:21 +0200)
commit2dcc908538054377d19571d77a026b9f26d3fd0f
treea58952877447a5b37804f44f46e4db91e19c9ce1
parenta11e15ea0ab1ee8a1947b6be52beca53693f0991
Add pthread_getname_np and pthread_setname_np for Hurd

We use thread_get_name and thread_set_name to get and set the thread
name, so nothing is stored in the thread structure since these functions
are supposed to be called sparingly.

One notable difference with Linux is that the thread name is up to 32
chars, whereas Linux's is 16.

Also added a mach_RPC_CHECK to check for the existing of gnumach RPCs.
config.h.in
htl/Makefile
htl/Versions
sysdeps/htl/pthread.h
sysdeps/mach/configure
sysdeps/mach/configure.ac
sysdeps/mach/htl/pt-getname-np.c [new file with mode: 0644]
sysdeps/mach/htl/pt-setname-np.c [new file with mode: 0644]
sysdeps/mach/hurd/i386/libpthread.abilist
sysdeps/mach/hurd/x86_64/libpthread.abilist
This page took 0.042554 seconds and 5 git commands to generate.