For the curious : how mod_perl handles threading
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > For the curious : how mod_perl handles threading




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    For the curious : how mod_perl handles threading  
Nicolas Lehuen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-13-06 10:49 PM

http://perl.apache.org/docs/2.0/use...Threads_Support

Regards,
Nicolas






[ Post a follow-up to this message ]



    Re: For the curious : how mod_perl handles threading  
Gregory (Grisha) Trubetskoy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-13-06 10:49 PM


On Mon, 13 Feb 2006, Nicolas Lehuen wrote:

> http://perl.apache.org/docs/2.0/use...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






[ Post a follow-up to this message ]



    Re: For the curious : how mod_perl handles threading  
Nicolas Lehuen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-14-06 07:46 AM

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 <grisha@apache.org>:
>
> On Mon, 13 Feb 2006, Nicolas Lehuen wrote:
> 
t[vbcol=seagreen]
>
> 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 d=
o
> in Python because of Python's GIL?
>
> Grisha
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:54 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register