Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21089 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10706 invoked by uid 1010); 8 Dec 2005 01:22:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10691 invoked from network); 8 Dec 2005 01:22:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2005 01:22:34 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:3402] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C5/21-14828-9DA87934 for ; Wed, 07 Dec 2005 20:22:33 -0500 Received: from localhost ([127.0.0.1] helo=peiscg33m) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1Ek9gA-0006CB-00; Wed, 07 Dec 2005 16:30:34 -0800 Message-ID: <01dc01c5fb95$db2e4a30$5c8be5a9@ohr.berkeley.edu> Reply-To: "Sara Golemon" To: "Bart de Boer" Cc: References: <22.BF.14828.12287934@pb1.pair.com> Date: Wed, 7 Dec 2005 17:22:28 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: Multithreading From: pollita@php.net ("Sara Golemon") > I was wondering. (And I'm probably the 1000th person asking this.) With > all the multiple-core processors and servers popping up lately, are > there any future (or current) plans for multithreading in PHP? > I've got two...well...threads... going on this concept.... One is a very non-true-threading apprach which involves a combination of ticks and Runkit_Sandbox which I hope to get around to sooner rather than later. The other is a longer-range plan designed to work specifically with apache2-worker (though perhaps generalized to work with other threaded SAPIs) to actually use some of those extra threads to link multiple real interpreters together (allowing one request chain to start/shutdown another in a sibling relationship -- as opposed to Runkit_Sandbox which is purely parent/child). Don't look for this anytime soon though. It's in my "wouldn't that be kinda cool" bin of projects to work on next to oggtheora and a few unnamed beasts... -Sara