| 1 |
README for Thread::Pool |
| 2 |
|
| 3 |
Create a group of threads to perform similar jobs, without having to start |
| 4 |
and stop a thread for each job. It is intended to be used in situations |
| 5 |
where the completion of similar jobs (e.g. fetching URL's or resolving |
| 6 |
reverse DNS of IP-numbers) may take an indeterminate amount of time. |
| 7 |
Using a pool of threads, these jobs can be executed more or less |
| 8 |
simultaneously, causing the wallclock time of an application to be shortened. |
| 9 |
|
| 10 |
*** A note of CAUTION *** |
| 11 |
|
| 12 |
This module only functions on Perl versions 5.8.0-RC3 and later. And then |
| 13 |
only when threads are enabled with -Dusethreads. It is of no use with any |
| 14 |
version of Perl before 5.8.0-RC3 or without threads enabled. |
| 15 |
|
| 16 |
************************* |
| 17 |
|
| 18 |
Copyright (c) 2002, 2003, 2010 Elizabeth Mattijsen <[email protected]>. All rights |
| 19 |
reserved. This program is free software; you can redistribute it and/or |
| 20 |
modify it under the same terms as Perl itself. |
| 21 |
|
| 22 |
Version: |
| 23 |
0.33 |
| 24 |
|
| 25 |
Required Modules: |
| 26 |
Thread::Conveyor (0.15) |
| 27 |
Thread::Conveyor::Monitored (0.11) |
| 28 |
|
| 29 |
The build is standard: |
| 30 |
|
| 31 |
perl Makefile.PL |
| 32 |
make |
| 33 |
make test |
| 34 |
make install |