It seems that bu dfdefault Perl is not thread safe, and that they have
to jump through all those hoops to ensure thread safety. There is no
real lesson for mod_python, I just wanted to know how they solved this
rather difficult problem.

Not instantiating one interpreter per name per thread and using an
interpreter pool may be an interesting optimisation, though. But I
guess it's a rather complicated one.

Regards,
Nicolas

2006/2/13, Gregory (Grisha) Trubetskoy <[EMAIL PROTECTED]>:
>
> On Mon, 13 Feb 2006, Nicolas Lehuen wrote:
>
> > http://perl.apache.org/docs/2.0/user/intro/overview.html#Threads_Support
>
> Which part of it - the pool of interpreters? Are they doing it out of
> necessity, i.e. there is no way to run multiple threads in Perl like we do
> in Python because of Python's GIL?
>
> Grisha
>

Reply via email to