Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2000 13:00:04 -0700
From:      Lyndon Nerenberg <lyndon@orthanc.ab.ca>
To:        John Polstra <jdp@polstra.com>
Cc:        current@FreeBSD.ORG
Subject:   Process cleanup (was Shared memory ...)
Message-ID:  <200003012000.e21K04x04001@orthanc.ab.ca>
In-Reply-To: Your message of "Wed, 01 Mar 2000 11:28:13 PST." <200003011928.LAA75785@vashon.polstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "John" == John Polstra <jdp@polstra.com> writes:

    John> Applications need to clean up after themselves.  The OS has
    John> no way of knowing whether an application wants its shared
    John> memory segments to survive after it terminates.

Tricky when the program crashes. Remember that a bug-free application
can still crash due to buggy shared-libraries.

I'm too lazy to look right this second ;-) ... do atexit() functions get
run when a process takes (say) a segmentation fault?

--lyndon


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?200003012000.e21K04x04001>