[Issue 23756] Add thread local constructor/destructor pragma
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 2 22:49:44 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=23756
Richard Cattermole <alphaglosined at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|Windows |All
--- Comment #4 from Richard Cattermole <alphaglosined at gmail.com> ---
Glibc offers support for C++ thread local destruction as part of its
implementation of pthread.
https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables
Via ``__cxa_thread_atexit ``.
I don't know how we could hook into this, but it seems like we could do it if
we wanted to.
--
More information about the Digitalmars-d-bugs
mailing list