Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

A few questions on gc in dll

Moderators: larsivi kris

Posted: 09/15/08 10:17:58

Hi i have made dlls in d before and they have worked great. This tutorial http://www.dsource.org/projects/tango/wiki/TutDLL shows a simple example of a dll but says it doesnt support multiple threads. What do I need to do to support multiple threads with the gc on in d?

Author Message

Posted: 09/24/08 10:14:40

What about thread_detachThis and thread_attachThis? They sound like the right functions to use or is there anything else that needs to be done to prevent leaks?