in reply to Re: Perl how to join all threads
in thread Perl how to join all threads
sub proc1 { $q = Thread::Queue->new(); while($p = $q->dequeue()){ if($p eq 'exit'){ last; } ..... } $q->end(); threads->exit(); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl how to join all threads
by BrowserUk (Patriarch) on Jul 06, 2015 at 22:14 UTC |