http://d.puremagic.com/issues/show_bug.cgi?id=3885
Summary: No multithread support for Windows DLL Product: D Version: unspecified Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: s...@invisibleduck.org ReportedBy: r.sagita...@gmx.de --- Comment #0 from Rainer Schuetze <r.sagita...@gmx.de> 2010-03-06 08:16:32 PST --- Created an attachment (id=583) dll test project There is currently no support for multithreading when creating DLLs. Here's a small test project that creates a DLL and builds three programs: test.exe: links against the import library of the DLL testdyn.exe: loads the DLL via LoadLibrary teststat.exe: links evreything without using DLLs (just for comparison). The test program creates 10 threads (in the case of testdyn.exe 5 before loading the library), and then calls a few functions mainly testing TLS access and memory corruption. This is for both D1 and D2, see the top of build.bat for DMD path and switching versions. Both test.exe and testdyn.exe produce access violations. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------