Article View: comp.windows.x
Article #37631cleaning up from exit
From: Janet L. Carson
Date: Fri, 02 Mar 1990 22:56
Date: Fri, 02 Mar 1990 22:56
21 lines
1070 bytes
1070 bytes
With regards to the the "cleaning up before exit" problem
recently discussed on xpert, I would like to propose the
following addition to the Xt Intrinsics:
XtAddCleanUpProc(routine, client_data)
XtRemoveCleanUpProc(routine, client_data)
These would add or remove a routine from a list of routines
to be called when the application exits.
To exit an application, the programmer would call:
XtExit(value)
which would call all of the clean up procedures and then
call exit(value).
--Janet
Janet L. Carson internet: jcarson@bcm.tmc.edu
Baylor College of Medicine uucp: {rutgers,mailrus}!bcm!jcarson
Technical Details
Message-ID:
<9003022256.AA07109@moniz.bcm.tmc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!bloom-beacon!MONIZ.BCM.TMC.EDU!jcarsonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!bloom-beacon!MONIZ.BCM.TMC.EDU!jcarson From: jcarson@MONIZ.BCM.TMC.EDU (Janet L. Carson) Newsgroups: comp.windows.x Subject: cleaning up from exit Message-ID: <9003022256.AA07109@moniz.bcm.tmc.edu> Date: 2 Mar 90 22:56:19 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 21