# HG changeset patch # User Richard M. Stallman # Date 1031801260 0 # Node ID 8871e67384e45e1214cdca6ff1e858e2440afaa1 # Parent 612929500d46cb1e7b80ebad010f86d53d088cc5 (wait_reading_process_input, both versions): Before calling turn_on_atimers, call stop_polling. diff -r 612929500d46 -r 8871e67384e4 src/process.c --- 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)