Re: THREAD_GETMEM support for Hurd in glibc

2020-02-15 Thread Florian Weimer
* Samuel Thibault: > Hello, > > Florian Weimer, le sam. 15 févr. 2020 11:11:02 +0100, a ecrit: >> Is there a way to add fields to the thread descriptor on Hurd? > > Sure! > >> With NPTL, we have THREAD_GETMEM and THREAD_SETMEM to access >> thread-local variables without relying on the platform TLS

Re: THREAD_GETMEM support for Hurd in glibc

2020-02-15 Thread Samuel Thibault
Hello, Florian Weimer, le sam. 15 févr. 2020 11:11:02 +0100, a ecrit: > Is there a way to add fields to the thread descriptor on Hurd? Sure! > With NPTL, we have THREAD_GETMEM and THREAD_SETMEM to access > thread-local variables without relying on the platform TLS > implementation. I have now a

THREAD_GETMEM support for Hurd in glibc

2020-02-15 Thread Florian Weimer
Is there a way to add fields to the thread descriptor on Hurd? With NPTL, we have THREAD_GETMEM and THREAD_SETMEM to access thread-local variables without relying on the platform TLS implementation. I want to use this for thread-local data in the dynamic loader, specifically for the exception han