--- Comment #1 from Rainer Schuetze <r.sagita...@gmx.de> 2010-03-06 08:31:23
Created an attachment (id=584)
allow multithreading with dlls
Here's a patch that fixes the issue for D2. It consists of 3 parts:
1. some modifications to core.thread to allow attaching and detaching to
threads that are not the current thread.
2. a support file core.thread_helper to enumerate running threads, so that you
can attach to these in DllMain
3. another support file core.dll_helper to fix the missing implicite TLS
support on Windows XP.
After applying the patch to druntime, the test project can be compiled with
-version=use_patch to test it.
Sorry, don't know enough for the Posix version, so there might be some issues
to sort out.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------