[Issue 4307] spawn()'ed thread doesn't terminate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 3 22:41:39 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4307



--- Comment #14 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-02-03 22:39:19 PST ---
What about joining the spawned threads? From what I recall, there was no place
that join was called on them, so if I understand correctly, they'll continue to
exist until the program terminates. And I believe that there are a finite
number of threads allowed at one time, so it would be a problem if spawned
threads continued to exist after they're done executing. If spawned threads are
joinable, they need to be joined or they'll never actually terminate (with
pthreads anyway) - unless I'm misunderstanding something.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list