Don't ask to ask, just ask | |
PerlMonks |
Re^2: forks for running multiple codes at same timeby Eyck (Priest) |
on Feb 09, 2009 at 07:37 UTC ( [id://742366]=note: print w/replies, xml ) | Need Help?? |
This is untrue. This is only true for Win32, where the fork() call doesn't even really exists (it's poorly faked using threads), on every other platform fork() costs almost the same, and provides many valuable additional benefits (like better memory protection, better management etc etc) Not to mention, he's spawning only 5 (count'em - five) processes, what would be cummulative gain on that, even on win32?
In Section
Seekers of Perl Wisdom
|
|