Re: perl and threads
[email protected] (Kristoff Bonne) Tue, 18 Jul 2006 21:09:43 +0200
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
Jerry, Jerry D. Hedden schreef: >> Is there a way to get 100 % certainty if a thread is running. > Yes. Install the lastest version of 'threads' from CPAN. Then you can > use $thr->is_running(). Thanks. In the meanwhile, I find no less then three possibilities. Appart from your proposal, I found the "threads::running" library here: http://search.cpan.org/~elizabeth/Thread-Running-0.07/ And later, somebody proposed Thread::State (see here: http://search.cpan.org/~makamaka/Thread-State-0.07/lib/Thread/State.pm) Isn't it great when you have choice. :-) Cheerio! Kr. Bonne.