Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47710 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39540 invoked from network); 1 Apr 2010 18:55:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2010 18:55:18 -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:43937] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/74-16887-41CE4BB4 for ; Thu, 01 Apr 2010 13:55:17 -0500 Received: by wwc33 with SMTP id 33so1017654wwc.29 for ; Thu, 01 Apr 2010 11:55:13 -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=WcxzYlcT3X515ieFf6U97UqqCAlEOG53TL0qF0UlEzU=; b=qD7jrj2fcHRN/dqEo6fotXZhDWz25/1QOQMm4StUVdXrn0zl/uwHB/2YFSXlU1p3cJ Rk0SdSVzUIZjWqxp1eu7vTCF/KMsNSVWiyHImI+17FpQvpN9L4aWpL4zV00JJCROTtmk ZROtnovFC4OIOm82LdF9P2lC39xlXGxgxtzNQ= 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=Wd9oYIlU51PXfETESOZlBoGqQGHFgH27lOY1tWHYAGAtTgyoCaUIfGCe2YGmgWe6Zb IMrqz6i2Shfrw2cYFGEHe8YK12lUBJfWL76SomfXbGmNiz7EICpGvz98PxQ/eUZJmNS2 DDfP586aujFfS20Qi5vTDsYfzCqM+ZfGbnqIA= MIME-Version: 1.0 Received: by 10.216.185.140 with HTTP; Thu, 1 Apr 2010 11:54:56 -0700 (PDT) In-Reply-To: <4BB4EB5D.7080102@daylessday.org> References: <1941231697.20100401163215@gmail.com> <4BB4E80A.3000402@zend.com> <4BB4EB5D.7080102@daylessday.org> Date: Thu, 1 Apr 2010 20:54:56 +0200 Received: by 10.216.87.7 with SMTP id x7mr576175wee.53.1270148096070; Thu, 01 Apr 2010 11:54:56 -0700 (PDT) Message-ID: To: Antony Dovgal Cc: 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) are we talking about having a thread safe PHP or parallel-like features available in user land? The sooner needs some love to be actually true, while most of the issues come from external libs. The later makes little or no sense. On Thu, Apr 1, 2010 at 8:52 PM, Antony Dovgal wrote: > On 01.04.2010 22:38, Stanislav Malyshev wrote: >> If you do, how you control access to them? Hello locks and the whole can >> of worms! Most people that think they can program in threads actually >> are just pushing their luck until some complex interaction leaves their >> app malfunctioning in a bizarre way and them without any means to debug >> it. > > Well, I don't agree with the statement above, but I do believe that if you're competent > enough to use threads, then you're competent enough to write in C/C++. > > Not to mention that a high-performance multi-threaded daemon written in PHP > is a total nonsense - that's exactly the task C/C++ do much better/faster. > > -- > Wbr, > Antony Dovgal > --- > http://pinba.org - realtime statistics for PHP > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org