in reply to Window + fork + Math::Pari = pain
fork doesn't really have anything to do with it. It's about threading. Keep in mind that fork creates a new *thread* in Windows, not a new *process*. The problem can be triggered more directly using:
perl -MMath::Pari -Mthreads -e "threads->create(sub{})->join();"
It appears that Math::Pari is not thread-safe.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Window + fork + Crypt::Random = pain
by bsb (Priest) on Mar 07, 2007 at 02:49 UTC | |
by Anonymous Monk on Mar 07, 2007 at 07:02 UTC | |
by bsb (Priest) on Mar 08, 2007 at 04:10 UTC | |
Re^2: Window + fork + Crypt::Random = pain
by bsb (Priest) on Mar 07, 2007 at 03:52 UTC |
In Section
Seekers of Perl Wisdom