home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.claremont.edu!ucivax!orion.oac.uci.edu!beckman.com!rariedel
- From: rariedel@beckman.com (Bob Riedel)
- Newsgroups: comp.os.os2.programmer
- Subject: DosExitList Hangs Process (OS/2 V1.3)
- Message-ID: <1992Aug31.124258.980@beckman.com>
- Date: 31 Aug 92 12:42:58 PDT
- Organization: BECKMAN
- Lines: 13
-
- I have an OS/2 (V1.3) program in which I am attempting to use DosExitList()
- to invoke a function to perform certain cleanup operations primarily
- involving flushing an array to disk and closing the associated file.
- I am having some difficulty with this because the program will hang
- (instead of exiting) when Ctrl-C terminates the program. The system has to be
- restarted to recover.
-
- It appears that my exit routine is not even being called since debug
- printf(s) never print when this situation occurs. The program will run to
- completion normally if Ctrl-C is not hit, and the exit handler is entered
- and functions normally.
-
- Any insight?
-