in reply to Re^3: Multithreaded memory usage
in thread Multithreaded memory usage

I'm a little confused here. I'm currently using the $thread->create() method. Isn't that already spawning a new thread? Would a new process be something like using backticks to execute another Perl script?

Cheers

P.S did you go to St Andrews to do Physics at all?

Replies are listed 'Best First'.
Re^5: Multithreaded memory usage
by moritz (Cardinal) on Apr 21, 2009 at 09:09 UTC
    Would a new process be something like using backticks to execute another Perl script?

    Or calling fork, or the pipe form of open, yes.

    P.S did you go to St Andrews to do Physics at all?

    (assuming that you are referring to my home node picture) Actually I went to Edinburgh (Heriot Watt University) to do Physics, and I did my Master there - but I also did some excursions, for example to the Isle of Skye, where I took that picture on the way.

    Let's say that the curses where not as demanding as I was expecting...

      I'll give the fork a try, will be easier that trying to analyse memory leaks.

      It's good to see physicists getting around :-) I did a PhD in experimental physics and the guys at St Andrews are using some of my code (hence me asking). I hope, like a true physicist, you aren't doing anything even slightly physics related now :-)