Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35696 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27246 invoked by uid 1010); 21 Feb 2008 17:40:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27231 invoked from network); 21 Feb 2008 17:40:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2008 17:40:42 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:25245] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/39-09272-997BDB74 for ; Thu, 21 Feb 2008 12:40:42 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Feb 2008 19:40:46 +0200 Received: from [192.168.16.90] ([192.168.16.90]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Feb 2008 09:40:43 -0800 Message-ID: <47BDB792.70707@zend.com> Date: Thu, 21 Feb 2008 09:40:34 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Felipe Ribeiro CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Feb 2008 17:40:43.0290 (UTC) FILETIME=[E1E35FA0:01C874B0] Subject: Re: [PHP-DEV] Multi-threading From: stas@zend.com (Stanislav Malyshev) Hi! > I know multi-threading is an enormous source of bugs, but I think it > does offer a good support for large-scale apps considering the > background processes and event-driven programming, and also allowing Multithreading does not fit well in the set of assumptions PHP engine is built on (though as for PHP language itself, I don't think there are assumptions that contradict threads) so it would be quite hard to do it on existing engine. It might be easier to do on some non-standard implementations, but I wouldn't hold my breast about standard engine - unless somebody comes forward and surprises us. > the apps to be self-content with no needs and no dependency of > external daemons like cron. I'm not sure how cron enters here but if what you need is scheduling capabilities then there are products implementing this, e.g. in Zend Platform. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com