[Za-pm] perl and multi processors

Nick Cleaton nick at cleaton.net
Wed Jul 9 06:07:05 CDT 2003


On Wed, Jul 09, 2003 at 12:48:32PM +0200, Spike wrote:
> Can anyone tell me if it necessary to do anything special to get perl to 
> use all the processors in a multi-processor machine ?

You have to either use threads (perldoc perlthrtut) or have several
perl processes running to take advantage of the extra CPUs.

--
Nick



More information about the Za-pm mailing list