in reply to Re^2: Perl thread issue
in thread Perl thread issue

read perl thread documentation here : http://perldoc.perl.org/perlthrtut.html Section shared and unshared data. It mentions below The biggest difference between Perl ithreads and the old 5.005 style threading, or for that matter, to most other threading systems out there, is that by default, no data is shared. When a new Perl thread is created, all the data associated with the current thread is copied to the new thread, and is subsequently private to that new thread! This is similar in feel to what happens when a Unix process forks, except that in this case, the data is just copied to a different part of memory within the same process rather than a real fork taking place.

Replies are listed 'Best First'.
Re^4: Perl thread issue
by Anonymous Monk on Dec 29, 2016 at 04:04 UTC