On 2001-05-11 16:10:00, "Jason Greene" <[EMAIL PROTECTED]> wrote:
> What do you guys think about having fork, waitpid, and signal handling
available in php?
> I wrote a few simple fork test functions, and everything seemed to work
> I am thinking that with sockets, shm, signals, and fork capability,
> be the possibility of someone writing daemons in php : )

I would like to use this functionality to fork an apache request so that
the parent can serve up some content while the child carries on with some
number-crunching or other time consuming task.

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?


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]

Reply via email to