Standalone threads

Sean Kelly sean at f4.ca
Sat Feb 18 20:22:33 PST 2006


Lightoze wrote:
> 
> I do not want to exit a thread midstream, but I want detach it from main thread,
> as in examples. I want to run many child threads (not only at startup) , but I
> do not know when they end. Using code above causes memory leaks, and I ask _how_
> to write it correctly. If you just explain _how_ it would be good. Working code
> will be the best.

What you're doing should be fine.  How are you detecting that a memory 
leak is occurring?


Sean



More information about the Digitalmars-d mailing list