in reply to How do I run subroutines in parallel?
Parallel::ForkManager is very convenient for that sort of thing. The GPL and Artistic licenses both encourage redistribution under sane terms.
(Added): Threads are another possibility, but they do not gain you time slices on *nix. They're mainly useful if the parallelized routines are I/O bound.
Perl 5.003 is terribly old. There were no threads then. On the brighter side, fork is fine for SMP and other multiple CPU systems, and will do true parallel processing for the kids.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I run subroutines in parallel?
by Joost (Canon) on Sep 09, 2002 at 11:40 UTC | |
|
Re: Re: How do I run subroutines in parallel?
by Anonymous Monk on Sep 09, 2002 at 15:37 UTC | |
by Jeppe (Monk) on Sep 10, 2002 at 16:45 UTC |