Re: Multithreading
| From: | Sara Golemon | Date: | Thu, 08 Dec 2005 01:22:28 +0000 |
| Subject: | Re: Multithreading | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21089@lists.php.net to get a copy of this message | ||
> 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