https://issues.dlang.org/show_bug.cgi?id=15523
--- Comment #3 from Jacob Carlborg <[email protected]> --- (In reply to Manu from comment #2) > Okay, well then, the question is, can we support C++ 'thread_local' > semantics for extern(C++) of non-__gshared? As with everything, it's just a matter of someone implementing it. Although, if "__thread" and "thread_local" have different semantics, I wonder what syntax to use in D then. // foo.cpp __thread int a; thread_local int b; // foo.d extern(C++) extern int a; // this will have the semantics of __thread extern(C++) extern /* __thread_local ? */ int b; // what should this syntax be? --
