On 11-02-06 07:32 PM, terry peng wrote:
why no threads? I have been using threads in other language (like Java) for long time, I was thinking it's good.
It depends on what your OS is. *NIX is designed to dispatch and recover processes. Windows does not fork well since every Windows processes has a window, whether it needs it or not.
If you're writing for *NIX, use fork. If you're writing for Windows, threads.
-- Just my 0.00000002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/