Mercurial > emacs
comparison src/process.c @ 93896:0c2f4b91340c
(wait_reading_process_output): If SYNC_INPUT and pending_atimers, run atimers.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Wed, 09 Apr 2008 06:46:39 +0000 |
parents | 41f9d37301a2 |
children | 8971ddf55736 |
comparison
equal
deleted
inserted
replaced
93895:ed8ccfc592a8 | 93896:0c2f4b91340c |
---|---|
4307 since we want to return C-g as an input character. | 4307 since we want to return C-g as an input character. |
4308 Otherwise, do pending quit if requested. */ | 4308 Otherwise, do pending quit if requested. */ |
4309 if (read_kbd >= 0) | 4309 if (read_kbd >= 0) |
4310 QUIT; | 4310 QUIT; |
4311 #ifdef SYNC_INPUT | 4311 #ifdef SYNC_INPUT |
4312 else if (interrupt_input_pending) | 4312 else |
4313 handle_async_input (); | 4313 { |
4314 if (interrupt_input_pending) | |
4315 handle_async_input (); | |
4316 if (pending_atimers) | |
4317 do_pending_atimers (); | |
4318 } | |
4314 #endif | 4319 #endif |
4315 | 4320 |
4316 /* Exit now if the cell we're waiting for became non-nil. */ | 4321 /* Exit now if the cell we're waiting for became non-nil. */ |
4317 if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) | 4322 if (! NILP (wait_for_cell) && ! NILP (XCAR (wait_for_cell))) |
4318 break; | 4323 break; |