httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: clean_child_exit, just_die and exit
Date Thu, 27 Sep 2001 12:04:30 GMT
Jeff Trawick wrote:
> 
> Jim Jagielski <jim@jaguNET.com> writes:
> 
> > PR 8001 reports that we are incorrectly using exit() in clean_child_exit
> > when it's called via just_die, which is a signal handler... I'm not
> > aware of exit() being a non-recommended option :)
> 
> Hmmm, never heard of exit() as a problem.  Maybe the point is that it
> calls atexit()-registered routines, which can themselves do stuff that
> doesn't work in a signal handler?
> 

I'm guessing it's the stuff added with atexit() which is the problem...
They even admit as much.

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
                   will lose both and deserve neither"

Mime
View raw message