Re: php and multithreading (additional arguments)

From: Date: Thu, 01 Apr 2010 21:35:49 +0000
Subject: Re: php and multithreading (additional arguments)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-47725@lists.php.net to get a copy of this message
On Thu, Apr 1, 2010 at 11:33 PM, Stanislav Malyshev <stas@zend.com> wrote: > Hi! > >> Eve Online in Stackless Python >> fmspy.org <http://fmspy.org> with stackless python >> etc. > > I don't know how python does it but PHP has a lot of global context, and > sharing this global context between threads, whatever they are (OS threads, > user-space threads, etc.) would be massively complex thing tp manage either > for the engine or for the user. Let make it slightly more clear: To do what python or perl does using the ZendEngine2 would mean a complete rewrite of the engine. It is a short answer but reflects the fact, sadly. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#47725) next »