> Thread.pm is an interface for 5.005 threads.
> fork() and threads.pm is an interface to ithreads which is the new threading
> module to perl. ithreads will work better for 5.8 release of perl coming
> RSN.
>
Hi all,
I'm new in this list and ... well, I'm sorry if I'm asking something
you already discussed in the past.
I'm trying to use Perl threads in order to parallelize some HTTP GET subs
and make my script faster (it needs hundreds of GET to retrieve information
from a web site) and until now I was not able to make it working. I tried
both with Thread.pm and with Pool.pm without any success. In some cases
the process is forking itself but it doesn't execute the actual routine and
it hangs up the script, otherwise it looks like the sub is not parallelized at all.
Did someone try the same thing?
I'm working on Linux 2.2.16 with Perl 5.6.1.
Thanks,
regards
Andrea
--
Andrea Sappia, Ph.D. - Software Engineering Manager
NIS - Network Integration and Solutions S.r.l., Milan (Italy)
WWW: http://www.nispro.it - Email: [EMAIL PROTECTED]
Phone: +39-0254117529 - Fax: +39-025456367
Member of ADI - Italian PhD Association - http://www.dottorato.it
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of the company.