in reply to Re: converting from process to threads
in thread converting from process to threads

i thought threads are supposed to take up less memory than processes...hmm. So whats the advantage of threads in perl?
  • Comment on Re^2: converting from process to threads

Replies are listed 'Best First'.
Re^3: converting from process to threads
by zentara (Cardinal) on Jan 20, 2008 at 15:44 UTC
    The only real advantage of using threads, is you can easily share and return values between threads, with "use shared". Otherwise forking is probably faster and more memory efficient.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum