Article View: comp.os.os2.programmer.misc
Article #213Exit Processing on Traps?
From: Keith Bennett
Date: Mon, 29 Aug 1994 17:02
Date: Mon, 29 Aug 1994 17:02
14 lines
1516 bytes
1516 bytes
I have an app that until a recent fix trapped and died under certain conditions. (It was a heap related error.) The trap was not a trap that halted the entire system, it just trapped that process. Is there any way to register an exit function that would do cleanup (especially release any mutex semaphores owned) before exiting from such a trap? - Keith -- -------------------------------------------------------------------------- Keith Bennett Bennett Business Solutions, Inc. C++/C Software Development 1852 Middlebridge Drive kbennett@cpcug.org Silver Spring, MD USA 20906
Technical Details
Message-ID:
<33t4bq$mdl@cpcug.org>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!news1.digex.net!digex.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11307a,eba41e905afd9686,start X-Google-Attributes: gid11307a,public X-Google-Thread: 10cd94,eba41e905afd9686,start X-Google-Attributes: gid10cd94,public X-Google-ArrivalTime: 1994-08-29 10:34:26 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!news1.digex.net!digex.net!not-for-mail From: kbennett@cpcug.org (Keith Bennett) Newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l Subject: Exit Processing on Traps? Date: 29 Aug 1994 13:02:50 -0400 Organization: Express Access Online Communications USA: 800-969-9090 Lines: 14 Message-ID: <33t4bq$mdl@cpcug.org> NNTP-Posting-Host: cpcug.org