Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47725 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88704 invoked from network); 1 Apr 2010 21:35:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2010 21:35:58 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:64278] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/89-44965-9B115BB4 for ; Thu, 01 Apr 2010 16:35:55 -0500 Received: by wwc33 with SMTP id 33so1114508wwc.29 for ; Thu, 01 Apr 2010 14:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=drT/InOc25SRTGclJlXiORjWjRjfz3pI7IJ+B8YWq2g=; b=VpPbKCR/+jqWzGitG2k1X0mYQdHfgK7gyAaJSVxaRacYbH40jr9q4icLSBBPvg6XM2 7CuNe0OAqS4Mjq39XPTNHqXnoWp2HIOy9ICBi72BqLRlLuXGZjyOjfJOtRWSe3SWlAgs Y/1DwTRnleTTm3yN7JS32i+sQvImEeNZWR1k8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sJ1kI1FWv8yVvP+WgjVxGssyXU5iv8Efz7epwoIPaKat4Kx5x8parGqsMO5LNJGLm9 nxcswYO97WO45JOIZYeFp7dfVE2vzfBWL/PExAIfiU1aIJ0v2f9g2/hqJNEYLotcbuuU mn1fZrW7/oUX6God+evLJnvgmmmBLh7m96gq0= MIME-Version: 1.0 Received: by 10.216.185.140 with HTTP; Thu, 1 Apr 2010 14:35:49 -0700 (PDT) In-Reply-To: <4BB51147.9060009@zend.com> References: <1941231697.20100401163215@gmail.com> <4BB4E80A.3000402@zend.com> <5BAD9F0C-858B-4DE5-9303-C1FF08F19C65@gmail.com> <4BB51147.9060009@zend.com> Date: Thu, 1 Apr 2010 23:35:49 +0200 Received: by 10.216.85.136 with SMTP id u8mr699159wee.122.1270157749865; Thu, 01 Apr 2010 14:35:49 -0700 (PDT) Message-ID: To: Stanislav Malyshev Cc: Ferenc Kovacs , Alexey Zakhlestin , speedy , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] php and multithreading (additional arguments) From: pierre.php@gmail.com (Pierre Joye) On Thu, Apr 1, 2010 at 11:33 PM, Stanislav Malyshev wrote: > Hi! > >> Eve Online in Stackless Python >> 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