before touching input_available_clear_time, to avoid accessing it
from multiple threads.
+2004-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK
+ before touching input_available_clear_time, to avoid accessing it
+ from multiple threads.
+
2004-12-23 Jason Rumney <jasonr@gnu.org>
* image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour
sigisheld (SIGIO);
#endif
- if (input_available_clear_time)
- EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
-
#ifdef SYNC_INPUT
interrupt_input_pending = 1;
#else
-
SIGNAL_THREAD_CHECK (signo);
+#endif
+
+ if (input_available_clear_time)
+ EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
+
+#ifndef SYNC_INPUT
handle_async_input ();
#endif