[D-runtime] DLL initialization in Druntime

Walter Bright walter at digitalmars.com
Sun Jan 16 12:46:33 PST 2011

Rainer Schuetze wrote:
> Walter Bright wrote:
>>> BTW: there is a regression in 2.051 regarding DLLs in a multi-threading
>>> environment: http://d.puremagic.com/issues/show_bug.cgi?id=5382
>> This is a mystery, as there is no such variable in src/core/dll_helper.d
> Maybe the diff shows the wrong direction patched <-> original.
> Using _moduleinfo_tlsdtors_i from object_.d no longer works, so the 
> patch adds tlsCtorRun.

If you're using multithreaded dlls in Windows, have you not seen the 
failed initialization issues? As I posted before, it's hard to see how 
it ever could have worked.

More information about the D-runtime mailing list