in reply to $thread->done() in perl 5.8.8 - catching slow threads

What's wrong with the commented lines in your code? Ie. What are they not doing that you want them to do?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW
  • Comment on Re: $thread->done() in perl 5.8.8 - catching slow threads

Replies are listed 'Best First'.
Re^2: $thread->done() in perl 5.8.8 - catching slow threads
by brycen (Monk) on Jul 08, 2009 at 19:27 UTC
    is_running() is not implemented in Perl 5.8.8. And I can't upgrade to 5.10
      Can't locate auto/threads/is_running.al in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at thread.pl line 15