diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2010-01-13 13:42:45 +0900 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2010-01-13 13:42:45 +0900 |
commit | c2623ee747a343021b9e9ce853835a938ab4fa80 (patch) | |
tree | a6fb788f3f5c9499491e8f4d405bee9509e531ef /src/keyboard.c | |
parent | 0b5397c27163729ca48af4d0c569e574638be2d1 (diff) | |
download | emacs-c2623ee747a343021b9e9ce853835a938ab4fa80.tar.gz |
Call SIGNAL_THREAD_CHECK from signal handlers.
* keyboard.c (input_available_signal) [SYNC_INPUT]:
Call SIGNAL_THREAD_CHECK (Bug#5333).
* atimer.c (alarm_signal_handler) [!SYNC_INPUT]:
Call SIGNAL_THREAD_CHECK.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 3b57c6e470f..e7338261499 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7513,11 +7513,11 @@ input_available_signal (signo) signal (signo, input_available_signal); #endif /* USG */ + SIGNAL_THREAD_CHECK (signo); + #ifdef SYNC_INPUT interrupt_input_pending = 1; pending_signals = 1; -#else - SIGNAL_THREAD_CHECK (signo); #endif if (input_available_clear_time) |