diff options
| author | Steven Tamm | 2004-07-19 04:42:43 +0000 |
|---|---|---|
| committer | Steven Tamm | 2004-07-19 04:42:43 +0000 |
| commit | e082ac9deb976fa9ea3e09d639191bee9e9d5315 (patch) | |
| tree | 82a1728cf854c76c67afea7fcd1cc5fc81a44688 /src/process.c | |
| parent | 1204e81c9e8cc713c8d19116873d9d96a9471467 (diff) | |
| download | emacs-e082ac9deb976fa9ea3e09d639191bee9e9d5315.tar.gz emacs-e082ac9deb976fa9ea3e09d639191bee9e9d5315.zip | |
Fixes for Ctrl-G support on carbon, replacing old timeout based polling
with alarm based polling.
mac.c (sys_select): Redo sys_select to use alarm-based
polling instead of 1 sec timeouts (like solaris).
macterm.c (x_make_frame_visible): Comment in polling on
frame creation.
keyboard.c: Undef SIGIO on Carbon
atimer.c (alarm_signal_handler): Call alarm handlers after
scheduling.
eval.c (Feval): Remove quit_char test
process.c (wait_reading_process_input): Remove clearing
stdin for select call on process input
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index 4c47fc0e92a..aad36b904b5 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4190,12 +4190,13 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 4190 | SELECT_TYPE Atemp, Ctemp; | 4190 | SELECT_TYPE Atemp, Ctemp; |
| 4191 | 4191 | ||
| 4192 | Atemp = input_wait_mask; | 4192 | Atemp = input_wait_mask; |
| 4193 | #ifdef MAC_OSX | 4193 | #if 0 |
| 4194 | /* On Mac OS X, the SELECT system call always says input is | 4194 | /* On Mac OS X 10.0, the SELECT system call always says input is |
| 4195 | present (for reading) at stdin, even when none is. This | 4195 | present (for reading) at stdin, even when none is. This |
| 4196 | causes the call to SELECT below to return 1 and | 4196 | causes the call to SELECT below to return 1 and |
| 4197 | status_notify not to be called. As a result output of | 4197 | status_notify not to be called. As a result output of |
| 4198 | subprocesses are incorrectly discarded. */ | 4198 | subprocesses are incorrectly discarded. |
| 4199 | */ | ||
| 4199 | FD_CLR (0, &Atemp); | 4200 | FD_CLR (0, &Atemp); |
| 4200 | #endif | 4201 | #endif |
| 4201 | Ctemp = connect_wait_mask; | 4202 | Ctemp = connect_wait_mask; |