This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Thread-local support for non-POD data objects
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 12 Jul 2013 22:51:28 +0530
- Subject: Thread-local support for non-POD data objects
hi,
There's an item on the glibc TODO master that mentions glibc support
for non-POD objects. I believe the glibc support required here is
limited to providing support for registering destructors and executing
them on thread exit. This is true for C++11 thread_local as well as
openmp thread local objects. This feature has been provided in glibc
for 2.18, so I believe we could remove this item from the list. Does
anybody have any objections to that?
There's still the question of providing a C extension that implements
a similar requirement, but that only needs compiler support now
afaict.
Siddhesh