http://qs1969.pair.com?node_id=478195


in reply to Perl threading stability?

It might be worth re-evaluating your approach to fork before grasping for threads modules. Especially if using Solaris, the IPC set of modules, notably IPC::SysV and IPC::Semaphore may be the most pertinent low-overhead support for fork.

Moreover, there is ample guidance for using the low-level system facilities the above IPC modules give you access to in the Programming Perl book ISBN 0596000278

One world, one people

Replies are listed 'Best First'.
Re^2: Perl threading stability?
by guice (Scribe) on Jul 26, 2005 at 20:48 UTC

    Thanks, the main reason about a jump into threads, vs fork(), was purely due to data sharing. I can run the script just find using a bunch of fork() and Parallel::ForkManager does makes things easier.

    The problem I kept running into is data sharing. The ability to maintain variable state throughout each thread. But would appear this is the biggest hog/limitation within Perl threading.

    -- philip
    We put the 'K' in kwality!