changeset 15661:96debed5fb36

(wait_reading_process_input) [hpux]: Workaround for annoying messages.
author Karl Heuer <kwzh@gnu.org>
date Sat, 13 Jul 1996 17:50:47 +0000
parents 5cee4182c51f
children 38c4c8679068
files src/process.c
diffstat 1 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sat Jul 13 11:12:25 1996 +0000
+++ b/src/process.c	Sat Jul 13 17:50:47 1996 +0000
@@ -2037,6 +2037,14 @@
       EMACS_SET_SECS_USECS (timeout, time_limit, microsecs);
       EMACS_ADD_TIME (end_time, end_time, timeout);
     }
+#ifdef hpux
+  /* AlainF 5-Jul-1996
+     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) */
+  stop_polling ();
+#endif
 
   while (1)
     {
@@ -2391,7 +2399,15 @@
       clear_input_pending ();
       QUIT;
     }
-
+#ifdef hpux
+  /* AlainF 5-Jul-1996
+     HP-UX 10.10 seems to have problems with signals coming in
+     Causes "poll: interrupted system call" messages when Emacs is run
+     in an X window
+     Turn periodic alarms back on */
+  start_polling();
+#endif
+   
   return got_some_input;
 }