Serious extern(C) bug

Jacob Carlborg doob at me.com
Wed Sep 25 02:40:04 PDT 2013


On 2013-09-25 06:49, "Luís Marques" <luis at luismarques.eu>" wrote:

> I guess I also implicitly assumed extern(C) implied __gshared... ("make
> it the same as C, not just the mangling"). And TLS is so implicit in D2
> that one can even forget about it :-)

Well, C has thread local, via the extension "__thread" or via C++ 
"thread_local". So if extern (C) implied "__gshared", how would one 
declare an extern (C) thread local variable?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list