Re: Request for Threads or SRM
| From: | Leonardo Pedretti | Date: | Thu, 24 Nov 2005 19:02:10 +0000 |
| Subject: | Re: Request for Threads or SRM | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20310@lists.php.net to get a copy of this message | ||
On Thursday 24 November 2005 15:39, Rasmus Lerdorf wrote:
> D. Dante Lorenso wrote:
> > All,
> >
> > I have been trying to use PHP 5.0.5 for all my programming tasks
> > including replacing many stand-alone Java servers. I've been successful
> > to a degree, but I'm seriously missing Java Threads. I've written some
> > code which uses SHM, Sockets, IPC, and PCNTL, but it's not as clean and
> > robust as it should be.
> >
> > Since the jury is still deliberating over PHP6 and what it will offer,
> > I'd like to put in my request to have a native PHP Thread object. If
> > Threads are too much to tackle, it would be nice to have something like
> > SRM (Script Running Machine) which could be used for CLI environment
> > stand-alone servers.
>
> That's way outside the scope of what we have planned for PHP 6 and I can
> pretty much guarantee it won't happen. The SRM-like thing doesn't need
> to be part of PHP though. Anybody can build such a beast.
>
> -Rasmus
And threads? well I must say that with php-gtk for gui client apps and php in
general with all the objects engine as it is now, threads would turn it into
a really powerful development framework for everything.
Is there any research in the topic, or is it just sleeping waiting for the
right moment to be?
Leo
--
Leonardo Pedretti
Axon Sistemas
Líder de Equipo Proyecto Basalto