diff options
| author | Juanma Barranquero | 2003-02-21 08:05:55 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-02-21 08:05:55 +0000 |
| commit | 19310311a77031a85c4c0bda5761bdcdd51560db (patch) | |
| tree | 2e2ebb3c61f0209fd82395e763e26123ffc63f2e /src/process.c | |
| parent | 4f09e23d4a4a33cd4be302a992c77d38627c4635 (diff) | |
| download | emacs-19310311a77031a85c4c0bda5761bdcdd51560db.tar.gz emacs-19310311a77031a85c4c0bda5761bdcdd51560db.zip | |
(wait_reading_process_input): Use POLL_INTERRUPTED_SYS_CALL, not
POLLING_PROBLEM_IN_SELECT.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 77c9e857c04..59512bf9441 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3793,7 +3793,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 3793 | EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); | 3793 | EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); |
| 3794 | EMACS_ADD_TIME (end_time, end_time, timeout); | 3794 | EMACS_ADD_TIME (end_time, end_time, timeout); |
| 3795 | } | 3795 | } |
| 3796 | #ifdef POLLING_PROBLEM_IN_SELECT | 3796 | #ifdef POLL_INTERRUPTED_SYS_CALL |
| 3797 | /* AlainF 5-Jul-1996 | 3797 | /* AlainF 5-Jul-1996 |
| 3798 | HP-UX 10.10 seem to have problems with signals coming in | 3798 | HP-UX 10.10 seem to have problems with signals coming in |
| 3799 | Causes "poll: interrupted system call" messages when Emacs is run | 3799 | Causes "poll: interrupted system call" messages when Emacs is run |
| @@ -3802,7 +3802,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 3802 | and then turn off any other atimers. */ | 3802 | and then turn off any other atimers. */ |
| 3803 | stop_polling (); | 3803 | stop_polling (); |
| 3804 | turn_on_atimers (0); | 3804 | turn_on_atimers (0); |
| 3805 | #endif | 3805 | #endif /* POLL_INTERRUPTED_SYS_CALL */ |
| 3806 | 3806 | ||
| 3807 | while (1) | 3807 | while (1) |
| 3808 | { | 3808 | { |
| @@ -4354,14 +4354,14 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 4354 | clear_input_pending (); | 4354 | clear_input_pending (); |
| 4355 | QUIT; | 4355 | QUIT; |
| 4356 | } | 4356 | } |
| 4357 | #ifdef hpux | 4357 | #ifdef POLL_INTERRUPTED_SYS_CALL |
| 4358 | /* AlainF 5-Jul-1996 | 4358 | /* AlainF 5-Jul-1996 |
| 4359 | HP-UX 10.10 seems to have problems with signals coming in | 4359 | HP-UX 10.10 seems to have problems with signals coming in |
| 4360 | Causes "poll: interrupted system call" messages when Emacs is run | 4360 | Causes "poll: interrupted system call" messages when Emacs is run |
| 4361 | in an X window | 4361 | in an X window |
| 4362 | Turn periodic alarms back on */ | 4362 | Turn periodic alarms back on */ |
| 4363 | start_polling (); | 4363 | start_polling (); |
| 4364 | #endif | 4364 | #endif /* POLL_INTERRUPTED_SYS_CALL */ |
| 4365 | 4365 | ||
| 4366 | return got_some_input; | 4366 | return got_some_input; |
| 4367 | } | 4367 | } |