apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject [PATCH] allow apr_proc_create() to return failure on Unix just like on other platforms
Date Fri, 07 Feb 2003 13:04:13 GMT
(if the app wants to burn the cycles, that is)

With a new attribute set, apr_proc_create() will check for some common 
problems prior to forking.  This enables the caller to handle errors 
more gracefully with no funky code.

I have half a mind to make this attribute set by default with APR 1.0 
and let apps that run apr_proc_create() constantly and don't want the 
extra overhead (e.g., mod_cgi) turn it off if they want.

Comments?

Better name for the attribute than apr_procattr_error_check_set() pretty 
please?

Mime
View raw message