Re: Re: Fork() in php?
| From: | Rasmus Lerdorf | Date: | Sun, 20 May 2001 20:43:36 +0000 |
| Subject: | Re: Re: Fork() in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53631@lists.php.net to get a copy of this message | ||
> >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.
-Rasmus