Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47731 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47421 invoked from network); 2 Apr 2010 07:06:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Apr 2010 07:06:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=jille@quis.cx; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jille@quis.cx; sender-id=unknown Received-SPF: error (pb1.pair.com: domain quis.cx from 82.94.237.14 cause and error) X-PHP-List-Original-Sender: jille@quis.cx X-Host-Fingerprint: 82.94.237.14 mulgore.hexon-is.nl Received: from [82.94.237.14] ([82.94.237.14:49426] helo=mulgore.hexon-is.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DD/12-44965-28795BB4 for ; Fri, 02 Apr 2010 02:06:44 -0500 Received: from adidas.hexon-nijmegen.nl (gw.hexon-nijmegen.nl [82.93.241.107]) by mulgore.hexon-is.nl (8.14.3/8.14.3) with ESMTP id o3276VUd024306; Fri, 2 Apr 2010 09:06:31 +0200 Received: from [10.0.0.142] (HENK.hexon-nijmegen.nl [10.0.0.142]) by adidas.hexon-nijmegen.nl (8.14.3/8.14.3) with ESMTP id o3276V8D023810; Fri, 2 Apr 2010 09:06:31 +0200 Message-ID: <4BB59771.2050706@quis.cx> Date: Fri, 02 Apr 2010 09:06:25 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Andi Gutmans CC: Dennis Hotson , speedy , internals@lists.php.net References: <1941231697.20100401163215@gmail.com> <698DE66518E7CA45812BD18E807866CE03FA7EFF@us-ex1.zend.net> In-Reply-To: <698DE66518E7CA45812BD18E807866CE03FA7EFF@us-ex1.zend.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Hexon-MailScanner-Information: Please contact the ISP for more information X-Hexon-MailScanner-ID: o3276VUd024306 X-Hexon-MailScanner: Found to be clean X-Hexon-MailScanner-From: jille@quis.cx X-Hexon-MailScanner-Watermark: 1270796791.96246@0FgbUko221CagfkY1cZPfQ Subject: Re: [PHP-DEV] php and multithreading (additional arguments) From: jille@quis.cx (Jille Timmermans) Op 2-4-2010 7:16, Andi Gutmans schreef > I think that if we were ever to implement threading we would be best off > to enable spawning worker threads that have their own context with no > shared data (and therefore no requirement for locking). We could then > have a message passing API between the threads. > Advantages: > - Real multi-threading. > - Simple straightforward approach which doesn't require a comp. sci. > degree to use correctly. > - Very stable implementation. > That sounds like "I want threading; because it sounds cool!". What are the advantages of this above multi-process? The systemcall-overhead for message passing? And why did nobody mention Aprils Fools yesterday; when the request-for-threading was sent ;) -- Jille