in reply to ithreads or fork() what you recommend?

Depends, which version of perl for which platform?

In general, based on age and simplicity, fork ought to be more reliable if that works for your purposes ( or if forks works ), because if a child fork segfaults it shouldn't affect the parent, but if a child thread segfaults, it probably might affect the parent

Vague, I know :)

  • Comment on Re: ithreads or fork() what you recommend?

Replies are listed 'Best First'.
Re^2: ithreads or fork() what you recommend?
by pawan68923 (Novice) on May 19, 2012 at 06:42 UTC

    As I have replied below, after analyzing answers provided to the question, I feel multiprocessing using fork() would be more appropriate for the task.

    Thanks! Best regards, Pawan