home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4606 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  953 b 

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