in reply to Re: What is the correct way to finish multithreaded program?
in thread What is the correct way to finish multithreaded program?
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 :-(
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: What is the correct way to finish multithreaded program?
by moritz (Cardinal) on May 05, 2014 at 11:37 UTC | |
by Gangabass (Vicar) on May 05, 2014 at 12:18 UTC | |
by BrowserUk (Patriarch) on May 05, 2014 at 15:49 UTC | |
by Anonymous Monk on May 05, 2014 at 13:08 UTC | |
by Gangabass (Vicar) on May 06, 2014 at 03:04 UTC | |
by Anonymous Monk on May 05, 2014 at 12:24 UTC | |
Re^3: What is the correct way to finish multithreaded program?
by Anonymous Monk on May 05, 2014 at 11:35 UTC |
In Section
Seekers of Perl Wisdom