in reply to Re: forks for running multiple codes at same time
in thread forks for running multiple codes at same time
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: forks for running multiple codes at same time
by weismat (Friar) on Feb 09, 2009 at 07:54 UTC | |
by salva (Canon) on Feb 09, 2009 at 09:32 UTC | |
by BrowserUk (Patriarch) on Feb 09, 2009 at 10:29 UTC | |
by salva (Canon) on Feb 09, 2009 at 10:45 UTC | |
by BrowserUk (Patriarch) on Feb 09, 2009 at 11:21 UTC |
In Section
Seekers of Perl Wisdom