Re: [PHP-DEV] Fork() in php?

2001-06-18 Thread Jason Greene
:53 PM Subject: Re: [PHP-DEV] Fork() in php? Hi! could you please send me those fork test functions ? I've written a simple NNTP-Server and the only thing missing is a fork-function. Many thanks in advance. Daniel Fuehrer -- every.de - Your Community / Web: http://www.every.de

Re: [PHP-DEV] Fork() in php?

2001-05-21 Thread Stig Sæther Bakken
[Manuel Lemos [EMAIL PROTECTED]] 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

Re: [PHP-DEV] Fork() in php?

2001-05-21 Thread Zeev Suraski
At 16:00 21/5/2001, Stig Sæther Bakken wrote: There are no plans for adding MT to PHP itself, but you do have a poor man's cooperative multi-threading through ticks. So now we have a poor man's objects and a poor man's multitasking. What does that say about us? :-) That we have a filthy rich

Re: [PHP-DEV] Fork() in php?

2001-05-21 Thread Jason Greene
, May 21, 2001 4:33 AM Subject: Re: [PHP-DEV] Fork() in php? At 16:00 21/5/2001, Stig Sæther Bakken wrote: There are no plans for adding MT to PHP itself, but you do have a poor man's cooperative multi-threading through ticks. So now we have a poor man's objects and a poor man's multitasking. What

Re: [PHP-DEV] Fork() in php?

2001-05-21 Thread Stig Sæther Bakken
[Jason Greene [EMAIL PROTECTED]] I was thinking about MT in php, but the platform differences would be a nightmare. We could abstract it like perl does, though even their implementation has problems. I would like to start with process control features (fork(), signals, waitpid() etc), but

Re: [PHP-DEV] Fork() in php?

2001-05-21 Thread Zeev Suraski
At 01:30 22/5/2001, Stig Sæther Bakken wrote: IMHO this type of functionality should only be available in a dedicated SAPI module, at least now. There are a lot of worms waiting to come out of this can, so put the can in a bucket first. :-) Very nicely put! :) Zeev -- PHP Development Mailing

RE: [PHP-DEV] Fork() in php?

2001-05-21 Thread Richard Heyes
There are no plans for adding MT to PHP itself, but you do have a poor man's cooperative multi-threading through ticks. Are these documented anywhere? Thanks. -- Richard Heyes 'Live your life as if you're going to die tomorrow. Learn as if you're going to live forever.' -- PHP Development

Re: [PHP-DEV] Fork() in php?

2001-05-21 Thread Stig Sæther Bakken
[Richard Heyes [EMAIL PROTECTED]] There are no plans for adding MT to PHP itself, but you do have a poor man's cooperative multi-threading through ticks. Are these documented anywhere? Uhm, it seems not. Me fix. - Stig -- Stig Sæther Bakken [EMAIL PROTECTED] Fast Search Transfer

Re: [PHP-DEV] Fork() in php?

2001-05-12 Thread Zeev Suraski
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,

Re: [PHP-DEV] Fork() in php?

2001-05-11 Thread Wez Furlong
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 fine. I am thinking that with sockets, shm, signals, and fork