This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: THREAD_GETMEM support for Hurd in glibc
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: bug-hurd at gnu dot org
- Cc: libc-alpha at sourceware dot org
- Date: Sat, 15 Feb 2020 21:18:13 +0100
- Subject: Re: THREAD_GETMEM support for Hurd in glibc
- References: <871rqwyxc9.fsf@mid.deneb.enyo.de> <20200215132334.mpkjq7tdv6sdzmqb@function>
* 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 added them.
Thanks, this is very useful and allowed me to simplify the loader
exception handling.