diff options
| author | Richard M. Stallman | 2002-09-12 03:27:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-09-12 03:27:40 +0000 |
| commit | 75eb23f13fae2ba8fadc971abc4a06b37075f84c (patch) | |
| tree | b1d364efd5332b9a2c108613c32e94aceed631cb /src | |
| parent | 2a9d2ed67da11670638f6ab3f5adfba22127ba50 (diff) | |
| download | emacs-75eb23f13fae2ba8fadc971abc4a06b37075f84c.tar.gz emacs-75eb23f13fae2ba8fadc971abc4a06b37075f84c.zip | |
(wait_reading_process_input, both versions):
Before calling turn_on_atimers, call stop_polling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 0a1265f4709..c12dda174f3 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3653,7 +3653,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 3653 | HP-UX 10.10 seem to have problems with signals coming in | 3653 | HP-UX 10.10 seem to have problems with signals coming in |
| 3654 | Causes "poll: interrupted system call" messages when Emacs is run | 3654 | Causes "poll: interrupted system call" messages when Emacs is run |
| 3655 | in an X window | 3655 | in an X window |
| 3656 | Turn off periodic alarms (in case they are in use) */ | 3656 | Turn off periodic alarms (in case they are in use), |
| 3657 | and then turn off any other atimers. */ | ||
| 3658 | stop_polling (); | ||
| 3657 | turn_on_atimers (0); | 3659 | turn_on_atimers (0); |
| 3658 | #endif | 3660 | #endif |
| 3659 | 3661 | ||
| @@ -6327,7 +6329,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 6327 | } | 6329 | } |
| 6328 | 6330 | ||
| 6329 | /* Turn off periodic alarms (in case they are in use) | 6331 | /* Turn off periodic alarms (in case they are in use) |
| 6332 | and then turn off any other atimers, | ||
| 6330 | because the select emulator uses alarms. */ | 6333 | because the select emulator uses alarms. */ |
| 6334 | stop_polling (); | ||
| 6331 | turn_on_atimers (0); | 6335 | turn_on_atimers (0); |
| 6332 | 6336 | ||
| 6333 | while (1) | 6337 | while (1) |