PROTECTED]>
Sent: Monday, June 18, 2001 5: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
Hello,
Zeev Suraski wrote:
>
> 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 nic
["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 Sea
> 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 Developm
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 Maili
["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()
ot; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, 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&
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 r
["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
> >>retur
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, t
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, ot
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
From: "spencer 'sporty' portee" <[EMAIL PROTECTED]>
To: "Jason Greene" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 10:46 AM
Subject: Re: [PHP-DEV] Fork() in php?
>
> Playing devil's advocate here.
>
> I
Playing devil's advocate here.
If php forked, that would mean that apache forked off a child that forked off a child.
So if the child at the end of the chain freezes, won't that confuse apache?
Threading might be nicer, but the same argumenet might hold.
But this is assuming that php is
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 capability, there could
be the possibility of someone writing daemons in
15 matches
Mail list logo