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/atimer.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/atimer.c')
-rw-r--r-- | src/atimer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/atimer.c b/src/atimer.c index 308d4688d7b..fc8af09630f 100644 --- a/src/atimer.c +++ b/src/atimer.c @@ -410,6 +410,10 @@ SIGTYPE alarm_signal_handler (signo) int signo; { +#ifndef SYNC_INPUT + SIGNAL_THREAD_CHECK (signo); +#endif + pending_atimers = 1; #ifdef SYNC_INPUT pending_signals = 1; |