develooper Front page | perl.ithreads | Postings from December 2012

pool example

Thread Next
From:
Alfonso Caponi
Date:
December 13, 2012 17:15
Subject:
pool example
Message ID:
CAF3e4iYQfMWyxhyQ3Bh1KCzQJwh30TretS0-YX4=xSR5POPXAQ@mail.gmail.com
Hi list,

I've a question about pool example script (
http://cpansearch.perl.org/src/JDHEDDEN/threads-1.86/examples/pool.pl).

Theoretically, should the sub "timer" kill threads immediately when sleep
value is greater than timeout value?
At the moment seems that the threads wait for the sleep value than they got
killed by sub "timer".

Thank you

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About