Commit 75eb23f1 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(wait_reading_process_input, both versions):

Before calling turn_on_atimers, call stop_polling.
parent 2a9d2ed6
...@@ -3653,7 +3653,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) ...@@ -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 HP-UX 10.10 seem to have problems with signals coming in
Causes "poll: interrupted system call" messages when Emacs is run Causes "poll: interrupted system call" messages when Emacs is run
in an X window 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); turn_on_atimers (0);
#endif #endif
...@@ -6327,7 +6329,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) ...@@ -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) /* Turn off periodic alarms (in case they are in use)
and then turn off any other atimers,
because the select emulator uses alarms. */ because the select emulator uses alarms. */
stop_polling ();
turn_on_atimers (0); turn_on_atimers (0);
while (1) while (1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment