* syssignal.h: Declare main_thread.
[bpt/emacs.git] / src / atimer.c
index 7410cad..ff5b8fa 100644 (file)
@@ -364,6 +364,8 @@ alarm_signal_handler (signo)
 {
   EMACS_TIME now;
 
+  SIGNAL_THREAD_CHECK (signo);
+
   EMACS_GET_TIME (now);
   pending_atimers = 0;