Keep It Simple, Stupid | |
PerlMonks |
Re^4: Win32, fork and XS globalsby syphilis (Archbishop) |
on Oct 12, 2011 at 11:43 UTC ( [id://930985]=note: print w/replies, xml ) | Need Help?? |
But, as Corion correctly points out, there are limitations that prevent it from being a transparent solution to porting forking programs to Windows Yep - thanks Corion, Buk. By way of belated (and incomplete) explanation, I was led down this path by a PDL::Graphics::PLplot test script which does a couple of forks. That test script works fine on nix systems, but exhibits some odd behaviour and errors on Windows. Thing is, of course, that the plplot library sets some globals and is not thread safe - not an issue with fork() on nix, but, as I've finally managed to grasp, prone to error with fork() on windows ... simple as that !! Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|