--- On Fri, 8/14/09, Dmitriy Sintsov <[email protected]> wrote:

> I remember some time ago I was strongly discouraged to
> compile and run 
> PHP threaded MPM for apache because some functions or
> libraries of PHP 
> itself were not thread safe.

While my machine was compiling AMP components, I thought about this a little 
bit. It seems weird that the implementation of a language intended to provide 
backend functionality for web servers isn't thread safe. Apache and other web 
server software must be threaded operationally towards infinity. How do they 
deal with using a non-thread safe library? Each time a thread executes PHP code 
does it have to grab a lock that protects the whole PHP library?

Dan


      

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to