🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1286

DosExitList Hangs Process (OS/2 V1.3)

#1286
From: Bob Riedel
Date: Mon, 31 Aug 1992 19:42
13 lines
975 bytes
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?
Technical Details
Message-ID: <1992Aug31.124258.980@beckman.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!ucivax!orion.oac.uci.edu!beckman.com!rariedel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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