/* -*-C-*-
-$Id: ntgui.h,v 1.4 1993/09/04 07:04:23 gjr Exp $
+$Id: ntgui.h,v 1.5 1993/09/08 04:44:41 gjr Exp $
Copyright (c) 1993 Massachusetts Institute of Technology
#ifndef REGBLOCK_CATATONIA_COUNTER
/* They must be contiguous, with counter being lower. */
# define REGBLOCK_CATATONIA_COUNTER REGBLOCK_MINIMUM_LENGTH
-# define REGBLOCK_CATATONIA_LIMIT (REGBLOCK_MINIMUM_LENGTH + 1)
+# define REGBLOCK_CATATONIA_LIMIT (REGBLOCK_CATATONIA_COUNTER + 1)
+# define REGBLOCK_CATATONIA_FLAG (REGBLOCK_CATATONIA_COUNTER + 2)
#endif
#define WM_CATATONIC (WM_USER)
/* -*-C-*-
-$Id: ntsig.c,v 1.11 1993/09/07 19:03:46 gjr Exp $
+$Id: ntsig.c,v 1.12 1993/09/08 04:44:06 gjr Exp $
Copyright (c) 1992-1993 Massachusetts Institute of Technology
Registers[REGBLOCK_CATATONIA_COUNTER] = 0;
Registers[REGBLOCK_CATATONIA_LIMIT]
= (CATATONIA_PERIOD / ASYNC_TIMER_PERIOD);
+ Registers[REGBLOCK_CATATONIA_FLAG] = 0;
switch (win32_install_async_timer (&timer_state,
&Registers[0],
REGBLOCK_MEMTOP,
/* -*-C-*-
-$Id: scheme16.c,v 1.5 1993/09/04 06:59:59 gjr Exp $
+$Id: scheme16.c,v 1.6 1993/09/08 04:46:00 gjr Exp $
Copyright (c) 1993 Massachusetts Institute of Technology
> scm_timer->base[scm_timer->ctr_off + 1])
&& (scm_timer->base[scm_timer->ctr_off + 1] != 0))
{
- PostMessage (scm_timer->window,
- scm_timer->message,
- ((WPARAM) 0),
- ((LPARAM) 0));
+ if (scm_timer->base[scm_timer->ctr_off + 2] == 0)
+ {
+ PostMessage (scm_timer->window,
+ scm_timer->message,
+ ((WPARAM) 0),
+ ((LPARAM) 0));
+ scm_timer->base[scm_timer->ctr_off + 2] = 1;
+ }
scm_timer->base[scm_timer->ctr_off] = 0L;
}
scm_timer = scm_timer->next;
/* -*-C-*-
-$Id: scheme32.c,v 1.5 1993/09/04 07:01:12 gjr Exp $
+$Id: scheme32.c,v 1.6 1993/09/08 04:45:26 gjr Exp $
Copyright (c) 1993 Massachusetts Institute of Technology
> timer_closure->block[timer_closure->ctr_off + 1])
&& (timer_closure->block[timer_closure->ctr_off + 1] != 0))
{
- PostMessage (timer_closure->window,
- timer_closure->message,
- ((WPARAM) 0),
- ((LPARAM) 0));
+ if (timer_closure->block[timer_closure->ctr_off + 2] == 0)
+ {
+ PostMessage (timer_closure->window,
+ timer_closure->message,
+ ((WPARAM) 0),
+ ((LPARAM) 0));
+ timer_closure->block[timer_closure->ctr_off + 2] = 1;
+ }
timer_closure->block[timer_closure->ctr_off] = 0;
}
return;