diff src/process.c @ 93896:0c2f4b91340c

(wait_reading_process_output): If SYNC_INPUT and pending_atimers, run atimers.
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 09 Apr 2008 06:46:39 +0000
parents 41f9d37301a2
children 8971ddf55736
line wrap: on
line diff
--- a/src/process.c	Wed Apr 09 06:46:14 2008 +0000
+++ b/src/process.c	Wed Apr 09 06:46:39 2008 +0000
@@ -4309,8 +4309,13 @@
       if (read_kbd >= 0)
 	QUIT;
 #ifdef SYNC_INPUT
-      else if (interrupt_input_pending)
-	handle_async_input ();
+      else
+        {
+          if (interrupt_input_pending)
+            handle_async_input ();
+          if (pending_atimers)
+            do_pending_atimers ();
+        }
 #endif
 
       /* Exit now if the cell we're waiting for became non-nil.  */