apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject Re: [PATCH] letting the app do something useful when apr_proc_create() fails in the child process
Date Wed, 05 Feb 2003 17:59:23 GMT
--On Wednesday, February 5, 2003 12:53 PM -0500 Jeff Trawick 
<trawick@attglobal.net> wrote:

> I'd like to see some +1s for this from others.  I'm not sure that
> it is a bug not to have the function.  I'm not really opposed, I
> simply would choose to continue adding process attributes rather
> than more parameters.

I agree with Jeff.  I don't think we need to continue to add 
parameters to apr_proc_create.  IIRC, we can reuse procattr across 
multiple apr_proc_create invocations (might be wrong).  Therefore, 
the presence (or absence) of a child error function makes sense to be 
where it is now.  Functions with really, really, really, really long 
argument lists are a bit unwieldly.

It isn't a big deal if you don't have a child error function, and I 
bet the common case would be not to have it anyway.  No need to 
continue to pollute apr_proc_create.  -- justin

View raw message