Re: [PATCH v2 glibc] Add pthread_getname_np and pthread_setname_np for Hurd

2024-07-16 Thread Samuel Thibault
Carlos O'Donell, le lun. 15 juil. 2024 09:09:37 -0400, a ecrit: > On 7/15/24 7:45 AM, Andreas K. Huettel wrote: > >>> diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist > >>> b/sysdeps/mach/hurd/i386/libpthread.abilist > >>> index fa90cc65..3ea7cb41 100644 > >>> --- a/sysdeps/mach/hurd/i386/li

Re: [PATCH v2 glibc] Add pthread_getname_np and pthread_setname_np for Hurd

2024-07-15 Thread Carlos O'Donell
On 7/15/24 7:45 AM, Andreas K. Huettel wrote: >>> diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist >>> b/sysdeps/mach/hurd/i386/libpthread.abilist >>> index fa90cc65..3ea7cb41 100644 >>> --- a/sysdeps/mach/hurd/i386/libpthread.abilist >>> +++ b/sysdeps/mach/hurd/i386/libpthread.abilist >>> @

Re: [PATCH v2 glibc] Add pthread_getname_np and pthread_setname_np for Hurd

2024-07-15 Thread Andreas K. Huettel
> > diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist > > b/sysdeps/mach/hurd/i386/libpthread.abilist > > index fa90cc65..3ea7cb41 100644 > > --- a/sysdeps/mach/hurd/i386/libpthread.abilist > > +++ b/sysdeps/mach/hurd/i386/libpthread.abilist > > @@ -164,3 +164,5 @@ GLIBC_2.32 tss_create F > >

Re: [PATCH v2 glibc] Add pthread_getname_np and pthread_setname_np for Hurd

2024-07-14 Thread Samuel Thibault
Hello, Flavio Cruz, le jeu. 11 juil. 2024 23:37:35 +0100, a ecrit: > diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist > b/sysdeps/mach/hurd/i386/libpthread.abilist > index fa90cc65..3ea7cb41 100644 > --- a/sysdeps/mach/hurd/i386/libpthread.abilist > +++ b/sysdeps/mach/hurd/i386/libpthread.a

[PATCH v2 glibc] Add pthread_getname_np and pthread_setname_np for Hurd

2024-07-11 Thread Flavio Cruz
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_