Date: Thu, 2 Mar 2000 08:09:17 +1100 From: Peter Jeremy <peter.jeremy@alcatel.com.au> To: Lyndon Nerenberg <lyndon@orthanc.ab.ca> Cc: current@FreeBSD.ORG Subject: Re: Process cleanup (was Shared memory ...) Message-ID: <00Mar2.080919est.115221@border.alcanet.com.au> In-Reply-To: <200003012000.e21K04x04001@orthanc.ab.ca>; from lyndon@orthanc.ab.ca on Thu, Mar 02, 2000 at 07:10:39AM %2B1100 References: <200003011928.LAA75785@vashon.polstra.com> <200003012000.e21K04x04001@orthanc.ab.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2000-Mar-02 07:10:39 +1100, Lyndon Nerenberg <lyndon@orthanc.ab.ca> wrote: >I'm too lazy to look right this second ;-) ... do atexit() functions get >run when a process takes (say) a segmentation fault? Nope. If there's no userland signal handler, the process will never return to userland after a signal. If you really wanted to, you could add handlers for all the signals and make them call the atexit() functions before dying, but that would get messy (since the process state is probably indeterminate if it got an unexpected signal). As various people have pointed out, SysV IPC is mostly an abomination. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00Mar2.080919est.115221>