delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/08/23/11:31:41

Date: Sun, 23 Aug 1998 18:29:17 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp-workers AT delorie DOT com
Subject: itimer problem
Message-ID: <Pine.SUN.3.91.980823182254.1451C-100000@is>
MIME-Version: 1.0

I was wading through past messages posted to c.o.m.d. the other day, and 
found one (posted by Regis BOSSUT <bossut AT isen DOT fr> on 13 Oct 1997).  In 
it, he tells that a program which calls setitimer, but doesn't reset it 
before exiting, will then cause a Page Fault in RMCB message and a system 
freeze.  Apparently, nobody cares to revert the timer interrupt on exit.

As far as I could see, v2.02 still doesn't do anything about that.  Did I 
miss something?

If not, then it should be a simple matter to look at 
__djgpp_timer_handler (sp?) and revert INT 8 when appropriate.  I think 
this should be done in __djgpp_exception_toggle, since it gets called 
from _exit, so even aborted programs will do it.

Comments?

- Raw text -


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