Mercurial > emacs
comparison src/process.c @ 15661:96debed5fb36
(wait_reading_process_input) [hpux]: Workaround for
annoying messages.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Sat, 13 Jul 1996 17:50:47 +0000 |
| parents | 7c205bc80624 |
| children | d50b8a2e6fe5 |
comparison
equal
deleted
inserted
replaced
| 15660:5cee4182c51f | 15661:96debed5fb36 |
|---|---|
| 2035 { | 2035 { |
| 2036 EMACS_GET_TIME (end_time); | 2036 EMACS_GET_TIME (end_time); |
| 2037 EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); | 2037 EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); |
| 2038 EMACS_ADD_TIME (end_time, end_time, timeout); | 2038 EMACS_ADD_TIME (end_time, end_time, timeout); |
| 2039 } | 2039 } |
| 2040 #ifdef hpux | |
| 2041 /* AlainF 5-Jul-1996 | |
| 2042 HP-UX 10.10 seem to have problems with signals coming in | |
| 2043 Causes "poll: interrupted system call" messages when Emacs is run | |
| 2044 in an X window | |
| 2045 Turn off periodic alarms (in case they are in use) */ | |
| 2046 stop_polling (); | |
| 2047 #endif | |
| 2040 | 2048 |
| 2041 while (1) | 2049 while (1) |
| 2042 { | 2050 { |
| 2043 int timeout_reduced_for_timers = 0; | 2051 int timeout_reduced_for_timers = 0; |
| 2044 | 2052 |
| 2389 { | 2397 { |
| 2390 /* Prevent input_pending from remaining set if we quit. */ | 2398 /* Prevent input_pending from remaining set if we quit. */ |
| 2391 clear_input_pending (); | 2399 clear_input_pending (); |
| 2392 QUIT; | 2400 QUIT; |
| 2393 } | 2401 } |
| 2394 | 2402 #ifdef hpux |
| 2403 /* AlainF 5-Jul-1996 | |
| 2404 HP-UX 10.10 seems to have problems with signals coming in | |
| 2405 Causes "poll: interrupted system call" messages when Emacs is run | |
| 2406 in an X window | |
| 2407 Turn periodic alarms back on */ | |
| 2408 start_polling(); | |
| 2409 #endif | |
| 2410 | |
| 2395 return got_some_input; | 2411 return got_some_input; |
| 2396 } | 2412 } |
| 2397 | 2413 |
| 2398 /* Given a list (FUNCTION ARGS...), apply FUNCTION to the ARGS. */ | 2414 /* Given a list (FUNCTION ARGS...), apply FUNCTION to the ARGS. */ |
| 2399 | 2415 |
