RE: threads package missing is_running
by Andy Bach other posts by this author
May 2 2008 9:53AM messages near this date
RE: threads package missing is_running
|
Re: threads package missing is_running
>
# The following gives an error that is_running.al is missing.
# Tried threads-> list (threads::running) to search and compare: gave
# bareword error.
Tried the code on linux, got the same error so activeperl is off the hook.
"list" should be:
$thr-> list()
The perldocs show no is_running method, nor a kill() method, for threads.
I think
$thr-> kill('SIGUSR1');
is a mix of info here, you mean to send a signal to $thr but
while ($thr-> list() ) {
isn't ... er quite right? Seems you need join/detach and to keep the
thread ids somewhere
a
-------------------
Andy Bach
Systems Mangler
Internet: andy_bach@[...].gov
Voice: (608) 261-5738 Fax: 264-5932
"When angry, count to four; when very angry, swear."
Mark Twain
_______________________________________________
ActivePerl mailing list
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
webmaster
Brian Raven
Brian Raven
Brian Raven
webmaster
Brian Raven
Brian Raven
Bill Luebkert
Andy Bach
webmaster
Andy Bach
Lyle - CosmicPerl.com Support
webmaster
Lyle - CosmicPerl.com Support
|