Mercurial > emacs
comparison src/process.c @ 95111:f3a094e70d91
(wait_reading_process_output): Always check status when in batch mode.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Mon, 19 May 2008 16:29:33 +0000 |
| parents | 8971ddf55736 |
| children | ad146a8ff5dc |
comparison
equal
deleted
inserted
replaced
| 95110:37df7f02ad6a | 95111:f3a094e70d91 |
|---|---|
| 4409 set_waiting_for_input (&timeout); | 4409 set_waiting_for_input (&timeout); |
| 4410 | 4410 |
| 4411 /* If status of something has changed, and no input is | 4411 /* If status of something has changed, and no input is |
| 4412 available, notify the user of the change right away. After | 4412 available, notify the user of the change right away. After |
| 4413 this explicit check, we'll let the SIGCHLD handler zap | 4413 this explicit check, we'll let the SIGCHLD handler zap |
| 4414 timeout to get our attention. */ | 4414 timeout to get our attention. When Emacs is run |
| 4415 if (update_tick != process_tick && do_display) | 4415 interactively, only do this with a nonzero DO_DISPLAY |
| 4416 argument, because status_notify triggers redisplay. */ | |
| 4417 if (update_tick != process_tick | |
| 4418 && (do_display || noninteractive)) | |
| 4416 { | 4419 { |
| 4417 SELECT_TYPE Atemp; | 4420 SELECT_TYPE Atemp; |
| 4418 #ifdef NON_BLOCKING_CONNECT | 4421 #ifdef NON_BLOCKING_CONNECT |
| 4419 SELECT_TYPE Ctemp; | 4422 SELECT_TYPE Ctemp; |
| 4420 #endif | 4423 #endif |
