Mail Archives: djgpp/1997/01/04/11:41:51
----------
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 -