changeset 47431:8871e67384e4

(wait_reading_process_input, both versions): Before calling turn_on_atimers, call stop_polling.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Sep 2002 03:27:40 +0000
parents 612929500d46
children 16b9af83e7d3
files src/process.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Thu Sep 12 03:26:59 2002 +0000
+++ b/src/process.c	Thu Sep 12 03:27:40 2002 +0000
@@ -3653,7 +3653,9 @@
      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 @@
     }
 
   /* 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)