I would say definitely yes to exec, vfork and wait4.  Adding wait and wait3
isn't a huge priority, but it's worth putting them in there to round out the
list of functions available.

IMHO, if you are going for a one to one relationship between the system
functions and the pcntl library, I wouldn't combine those together into
something like wait_rusage().  Someone using the pcntl functions will just
know that wait3 or wait4 will do exactly what they expect it to do without
having to do much more than brush up on a manpage.

Daniel

----- Original Message -----
From: "Jason Greene" <[EMAIL PROTECTED]>
To: "Daniel Beckham" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 14, 2001 5:00 PM
Subject: Re: PHP pcntl function documentation (and other stuff)


> Yes I was debating on whether or not to add that, but I wasn't sure what
people were looking for.
> I was also debating on adding wait3 and wait4.....
>
> so here are the functions that should be added
> pcntl_exec()
> pcntl_wait()
> pcntl_vfork()
> pcntl_wait3()???
> pcntl_wait4()???
>
> hmm.. maybee they should be combined to a
> pcntl_wait_rusage()
> What do you think?
>
> -Jason
>
>
> ----- Original Message -----
> From: "Daniel Beckham" <[EMAIL PROTECTED]>
> To: "Jason Greene" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, September 14, 2001 1:55 PM
> Subject: Re: PHP pcntl function documentation (and other stuff)
>
>
> > One more question.  Were you considering adding wait() to the list of
> > functions supported?  I know it's very similar as waitpid(), but it is
> > simpler to use unless you are doing something more complex in nature.
> >
> > Daniel
> >
>
>
>


-- 
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