[Issue 15523] extern(C++) support TLS (C++ 'thread_local') linkage?

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jan 7 00:16:28 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15523

Jacob Carlborg <doob at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob at me.com

--- Comment #1 from Jacob Carlborg <doob at me.com> ---
I'm not sure if there's any different between thread_local and __thread. But
for __thread there's no specific mangling, at least not on OS X.

Have you tried and see what happens? Unfortunately I cannot do that on OS X,
since neither thread_local is supported (__thread works though) and the D
implementation of TLS on OS X is not compatible with the C implementation.

--


More information about the Digitalmars-d-bugs mailing list