Summary: No multithread support for Windows DLL
--- Comment #0 from Rainer Schuetze <r.sagita...@gmx.de> 2010-03-06 08:16:32
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
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: -------