1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 03:51:32 +00:00

Remove unused FileIOFlag, TimerFlag. (#221)

This commit is contained in:
Bruce Mitchener
2021-01-14 01:58:58 +07:00
committed by GitHub
parent 0fbf5e8281
commit 71a04ce117
3 changed files with 0 additions and 10 deletions

View File

@@ -192,8 +192,6 @@ typedef struct {
}
#endif /* OLD_CURSOR */
/* function that checks to see if more input is waiting on a file;
if some is, it bumps FileIOFlag so it'll get seen next time around */
/* commented out is some code that would also clobber
Irq_Stk_Check & Irq_Stk_End to force
a new interrupt as rapidly as possible; it causes odd behavior...

View File

@@ -412,8 +412,6 @@ int TIMER_INTERVAL = 100000;
int TIMER_INTERVAL = 25000;
#endif
int FileIOFlag = 0;
int TimerFlag = 0;
extern int LispWindowFd;
/************************************************************************/
@@ -432,7 +430,6 @@ static void int_timer_service(int sig)
Irq_Stk_Check = 0;
Irq_Stk_End = 0;
TimerFlag = 1;
#ifdef XWINDOW
Event_Req = TRUE;
@@ -459,7 +456,6 @@ static void int_timer_init()
* locked prior to receiving any interrupts. This prevents the Timer
* function from being swapped out during an interrupt.
******************************************************************************/
_dpmi_lockregion((void *)TimerFlag, sizeof(TimerFlag));
_dpmi_lockregion((void *)Irq_Stk_End, sizeof(Irq_Stk_End));
_dpmi_lockregion((void *)Irq_Stk_Check, sizeof(Irq_Stk_Check));
_dpmi_lockregion((void *)tick_count, sizeof(tick_count));
@@ -860,7 +856,6 @@ void DOStimer() {
/* if (--tick_count == 0) { */
Irq_Stk_Check = 0;
Irq_Stk_End = 0;
TimerFlag = 1;
/* _dos_setvect(0x1c, prev_int_1c);
} else if (tick_count <= 0) { */
/* I'm dead, uninstal me */