Front page | perl.perl5.porters |
Postings from April 2000
Re: Multithreading Perl
Thread Previous
From:
Gurusamy Sarathy
Date:
April 6, 2000 13:43
Subject:
Re: Multithreading Perl
Message ID:
200004062042.NAA17624@maul.ActiveState.com
On Thu, 06 Apr 2000 15:25:15 CDT, Geoffrey Wossum wrote:
>According to all the documentation I've found, the Perl interpreter has
>been thread-safe since 5.005. Is this true? I see the interpreter
>looking at a lot of global data...
No, 5.005 isn't concurrency-safe. 5.6.0 is, if you build it with the
appropriate Configure options.
>I've tried compiling perl with a variety of options, includeing
>MULTIPLICITY and THREADS and various other things. The program either
>core dumps, or it seems that only one Perl interpreter is really there.
>
>So the questions are:
>
>Can I do this with Perl (5.005 or 5.6)?
>If so, what's the secret? How do I need to compile Perl? Do I need to do
>something special with my external threading mechanism?
You'll need to build with -Dusemultiplicity. See perldelta.pod in 5.6.0.
Sarathy
gsar@ActiveState.com
Thread Previous