Re: Fork() in php?

From: Date: Mon, 21 May 2001 00:18:19 +0000
Subject: Re: Fork() in php?
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-55982@lists.php.net to get a copy of this message
Hello Zeev, On 12-May-01 14:14:10, you wrote: >At 04:05 12/5/2001, Wez Furlong wrote: >>I know that there might be some bad interactions with apache if you fork, >>but if you allow PHP to spot that it forked and call _exit() instead of >>returning into the SAPI, you should be OK? >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? Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.dev (#55982) next »