[D-runtime] druntime fixes again break Windows DLL support
Sean Kelly
sean at invisibleduck.org
Fri Apr 22 11:09:52 PDT 2011
On Apr 22, 2011, at 9:48 AM, Rainer Schuetze wrote:
> Rainer Schuetze wrote:
>> Recently, I also started creating threads in a DLL, and that revealed a few inconsistencies between dll_helper.d and thread.d. The major problem is that DLLMain is called before the thread is added to the list of library created threads, causing initialization to be done twice.
>> I have a patch for this, but I'm not yet on the latest git-version. I'll try to update the bugzilla entry http://d.puremagic.com/issues/show_bug.cgi?id=5582 with it and maybe even create a pull request.
>
> here's the commit with my patches to the runtime regarding DLL support for Windows Server 2003 and XP/64 and thread creation inside a DLL:
>
> https://github.com/rainers/druntime/commit/864bb10cab2e0a3807df27962a73990b9e44c1e1
Awesome. I'll apply it today.
More information about the D-runtime
mailing list