Re: Re: Fork() in php?
| From: | Frank Joerdens | Date: | Mon, 21 May 2001 04:12:15 +0000 |
| Subject: | Re: Re: Fork() in php? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53666@lists.php.net to get a copy of this message | ||
On Sun, May 20, 2001 at 01:43:36PM -0700, Rasmus Lerdorf wrote:
> > >Not really, the parent has to somehow call wait() on the child, otherwise
> > >you'd get zombie processes...
> > >Generally, implementing that sort of stuff within the Apache framework is a
> > >bit of asking for trouble :I
> >
> > Anyway, PHP really lacks of real multi-threading capabilities. Things like
> > database connection pooling, (non-HTTP) server request handling, and GUI
> > event processing could be properly implemented in PHP with multi-threading
> > capabilities like the way it is done in Java, Perl, Python, etc. but can't
> > be done right in PHP because it lacks multi-threading support.
> >
> > Any plans to add multi-threading capabilities to PHP?
>
> Nope, but you can use the ticks feature to do some of this.
What is the ticks feature and where can I read about it? The only
reference I could find was in the PHP-DEV archives back in September
about something you call by doing register_tick_function() . . . but
nothing substantial in the way of documentation.
Thanks,
Frank