www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/04/11:41:51

Posted-Date: Sat, 4 Jan 1997 10:28:04 -0600 (CST)
Message-Id: <199701041628.KAA11265@mail.texoma.net>
From: "Mark S. Teel" <mteel AT texoma DOT net>
To: "Andreas Vernersson" <hubb AT freenet DOT hut DOT fi>
Cc: "DJGPP" <djgpp AT delorie DOT com>
Subject: Re: Signal
Date: Sat, 4 Jan 1997 10:33:38 -0600
MIME-Version: 1.0


----------
From: Andreas Vernersson <hubb AT freenet DOT hut DOT fi>
To: djgpp AT delorie DOT com
Subject: Signal
Date: Saturday, January 04, 1997 4:10 AM

Hi,

I've programmed a timer-interrupt (int 0x1c) and it works fine, but
if i terminate my program with Ctrl-C when the timer is installed=20
the computer hung. I think this is caused because i dont't reinstall
the old interrupt and my timer-interrupt is still there when the program
tries to exit. So, how do i change the signal caused by Ctrl-C to=20
restore the real timer interrupt before exiting. Hm.. And hum..
how do i make the usual "core dump" appear in the new signal before=20
exiting?

You are going to have to trap Ctrl-C yourself and restore the timer
interrupt before exiting... Hope this helps.

MST


/andreas vernersson - Ume=E5, Sweden - hubb AT freenet DOT hut DOT fi - IRC: hubble

----------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019