RE: New 'threads' methods
[email protected] ("Jan Dubois")
| Newsgroups | perl.perl5.porters,perl.ithreads |
|---|---|
| Message-ID | <013a01c6a053$83318c30$8994a490$@com> |
On Wed, 05 Jul 2006, Jerry D. Hedden wrote: > > I'm planning to add some new methods to the 'threads' module, and I > would like a concensus on the method names: > > Method to tell if a thread is still 'running' (i.e., the thread > entry point function has not yet exited). Possible names: > $thr->running() > $thr->isrunning() > $thr->is_running() [...] I like the is_xxx() form for predicate methods. Cheers, -Jan