Commit bd55c35c authored by Jan Djärv's avatar Jan Djärv
Browse files

* keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK

before touching input_available_clear_time, to avoid accessing it
from multiple threads.
parent 11c2175c
2004-12-23 Jan Dj,Ad(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
......
......@@ -6841,14 +6841,16 @@ input_available_signal (signo)
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment