On 25 September 2013 10:40, Jacob Carlborg <[email protected]> wrote: > On 2013-09-25 06:49, "Luís Marques" <[email protected]>" 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
Especially considering that __thread is deprecated/error in D now. ;) -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
