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/?[EMAIL PROTECTED]
--
E-mail: [EMAIL PROTECTED]
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]