changeset 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 ed8ccfc592a8
children 2a26d1addd66
files src/process.c
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
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.  */