Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47735 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53515 invoked from network); 2 Apr 2010 07:34:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Apr 2010 07:34:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.216 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.216 mail-bw0-f216.google.com Received: from [209.85.218.216] ([209.85.218.216:55718] helo=mail-bw0-f216.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/53-44965-B1E95BB4 for ; Fri, 02 Apr 2010 02:34:51 -0500 Received: by bwz8 with SMTP id 8so1355540bwz.23 for ; Fri, 02 Apr 2010 00:34:47 -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=jsa0lyQwSPoA85DaawhReZq0mg5wh+2uLaz9z+cYUpw=; b=nDT91tl8B2njkzF/B+DkWpN0pmP8C9TyjeAzu0KWtEY4LudGoLC0A5S2EZOtd2TzPB Cf8sLhGHMrQVyTLG4OpVLI83dqGq9dJPhDSokYMwRs+/aHVkzxplrUhR6qg/IpAG7gFt H0htk5YdpP2J4CYVpt2io7L++X6dqzme4G7Gs= 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=Lxna1XoqgNnnvlkxvxTITVra2Fgt1wzftz+AItq3IYedeQORJZ/ySmi3oMMhgR8Hl/ loyocMRx73MjIwWm1hSrFnz3NAQk8YsbAWGcqP6FQCocjEnnioKu7IvdFNa/WSWRvTiH GnGEnhnWB2XpROfYg0RNh/6n7R5nSPDF7FCag= MIME-Version: 1.0 Received: by 10.204.64.200 with HTTP; Fri, 2 Apr 2010 00:34:46 -0700 (PDT) In-Reply-To: <4BB59771.2050706@quis.cx> References: <1941231697.20100401163215@gmail.com> <698DE66518E7CA45812BD18E807866CE03FA7EFF@us-ex1.zend.net> <4BB59771.2050706@quis.cx> Date: Fri, 2 Apr 2010 09:34:46 +0200 Received: by 10.204.139.68 with SMTP id d4mr2534891bku.66.1270193686957; Fri, 02 Apr 2010 00:34:46 -0700 (PDT) Message-ID: To: Jille Timmermans Cc: Andi Gutmans , Dennis Hotson , speedy , internals@lists.php.net Content-Type: multipart/alternative; boundary=0015174c11de81ce5804833c03ba Subject: Re: [PHP-DEV] php and multithreading (additional arguments) From: tyra3l@gmail.com (Ferenc Kovacs) --0015174c11de81ce5804833c03ba Content-Type: text/plain; charset=UTF-8 On Fri, Apr 2, 2010 at 9:06 AM, Jille Timmermans wrote: > 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!". Threading is cool. :) It has more value for me, that traits/grafts but I won't deny, that others may find it usefull, why are you? > What are the advantages of this above multi-process? > The systemcall-overhead for message passing? > I mentioned a few advantage in one of my previous post, Tyrael --0015174c11de81ce5804833c03ba--