[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inferior Octave delay

From: Richard Stallman
Subject: Re: Inferior Octave delay
Date: Sun, 06 Jun 2004 10:31:29 -0400

    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

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]