![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re^2: What is the correct way to finish multithreaded program?by Gangabass (Vicar) |
on May 05, 2014 at 11:18 UTC ( #1085040=note: print w/replies, xml ) | Need Help?? |
Hmm... According to docs:
$thr->is_joinable() Returns true if the thread has finished running, is not detached and has not yet been joined. In other words, the thread is ready to be joined, and a call to $thr->join() will not block.Previous block of code (while (..) {..}) used to wait threads to finish (I think). But may be I'm wrong :-(
In Section
Seekers of Perl Wisdom
|
|