* Re: Inferior Octave delay
[not found] <m24qpqhuz0.fsf@cse-air-dhcp-165.ucsd.edu>
@ 2004-06-06 14:31 ` Richard Stallman
0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2004-06-06 14:31 UTC (permalink / raw)
Cc: emacs-devel
With a recent CVS Emacs, inferior Octave will cause Emacs to hang
until the command executed produces at least some output. To show
this effect, start up an inferior octave and type "sleep(1);disp(1);".
Until about a week ago, this would immediately return control to
Emacs, wait a second, and display a "1". Now it hangs Emacs until the
sleep is done. However, if you reverse the "disp" and "sleep", it
immediately displays the "1", and does not hang Emacs during the
sleep.
Can you figure out which recent change was responsible for the problem?
Of the three changes in process.c after 5/11, none of them looks
likely to do this--but it could be one of them.
revision 1.430
date: 2004/05/28 21:58:31; author: friedman; state: Exp; lines: +12 -1
process.c (Fdelete_process): Do not call remove_process.
----------------------------
revision 1.429
date: 2004/05/25 11:17:43; author: kfstorm; state: Exp; lines: +2 -1
(wait_reading_process_input): Check connect_wait_mask
before actually accepting connection in case it has already been
accepted due to recursion.
----------------------------
revision 1.428
date: 2004/05/13 23:07:07; author: kfstorm; state: Exp; lines: +4 -3
(wait_reading_process_input): Make reentrant.
Make Available and Connecting non-static. Save and restore value
of waiting_for_user_input_p.
----------------------------
^ permalink raw reply [flat|nested] only message in thread