![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: What is the correct way to finish multithreaded program?by moritz (Cardinal) |
on May 05, 2014 at 08:46 UTC ( #1085017=note: print w/replies, xml ) | Need Help?? |
While I'm not an expert on threads, I believe this is the problem:
You only join the threads that have already finished; instead you should join them all, i.e. wait for them to finish.
In Section
Seekers of Perl Wisdom
|
|