aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-09-12 03:27:40 +0000
committerRichard M. Stallman <[email protected]>2002-09-12 03:27:40 +0000
commit75eb23f13fae2ba8fadc971abc4a06b37075f84c (patch)
treeb1d364efd5332b9a2c108613c32e94aceed631cb
parent2a9d2ed67da11670638f6ab3f5adfba22127ba50 (diff)
(wait_reading_process_input, both versions):
Before calling turn_on_atimers, call stop_polling.
-rw-r--r--src/process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 0a1265f470..c12dda174f 100644
--- a/src/process.c
+++ b/src/process.c
@@ -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)