public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* THREAD_GETMEM support for Hurd in glibc
@ 2020-02-15 10:12 Florian Weimer
  2020-02-15 13:23 ` Samuel Thibault
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2020-02-15 10:12 UTC (permalink / raw)
  To: bug-hurd; +Cc: libc-alpha

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 handling context.  Using the thread
descriptor or TCB for this seems appropriate because this TLS data is
not supposed to be duplicated in alternative namespaces (because they
share the dynamic loader).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-15 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15 10:12 THREAD_GETMEM support for Hurd in glibc Florian Weimer
2020-02-15 13:23 ` Samuel Thibault
2020-02-15 20:19   ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).