[Israel.pm] Parallel jobs
margol at beamartyr.net
Mon Jun 8 09:07:52 PDT 2009
I've just finished a project with threads, and they don't look like
masked forks to me - they show up as the threadcount for the single perl
process, like I'd expect.
Avishalom Shalit wrote:
> 2009/6/8 Avishalom Shalit <avishalom at gmail.com>
>> i had used pearl threads,
>> it isn't too complicated and most things i needed were threadsafe.
>> however , they are not lightweight at all,
>> they are masked forks, and like forks, you really want to spawn them as early as possible .
>> what do you need them for ?
>> 2009/6/8 Yossi Itzkovich <Yossi.Itzkovich at ecitele.com>
>>> I would like to ask how you people work with parallel jobs (processes/threads) in Perl (>=5.8.4).
>>> I know there are simple built in commands (open, fork etc.) but I am asking about higher order managers.
>>> Threads might be good - but not enabled by default in Perl build -so I am limited (also not all modules are thread safe).
>>> I have been using Parallel::Jobs for a while, and I read a little about Parallel::Forker, but I wanted to know if there are better alternatives out there.
>>> Thanks for your help.
>>> Perl mailing list
>>> Perl at perl.org.il
>> -- vish
> -- vish
> Perl mailing list
> Perl at perl.org.il
More information about the Perl