]> git.eshelyaron.com Git - emacs.git/commitdiff
(wait_reading_process_input, both versions):
authorRichard M. Stallman <rms@gnu.org>
Thu, 12 Sep 2002 03:27:40 +0000 (03:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 12 Sep 2002 03:27:40 +0000 (03:27 +0000)
Before calling turn_on_atimers, call stop_polling.

src/process.c

index 0a1265f470927ae7c6fe7eff9a6b2594982db46c..c12dda174f38531e5f1784351c8f5871f4c839d1 100644 (file)
@@ -3653,7 +3653,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
      HP-UX 10.10 seem to have problems with signals coming in
      Causes "poll: interrupted system call" messages when Emacs is run
      in an X window
-     Turn off periodic alarms (in case they are in use) */
+     Turn off periodic alarms (in case they are in use),
+     and then turn off any other atimers.  */
+  stop_polling ();
   turn_on_atimers (0);
 #endif
 
@@ -6327,7 +6329,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
     }
 
   /* Turn off periodic alarms (in case they are in use)
+     and then turn off any other atimers,
      because the select emulator uses alarms.  */
+  stop_polling ();
   turn_on_atimers (0);
 
   while (1)