From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Inferior Octave delay Date: Sun, 06 Jun 2004 10:31:29 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1086532311 21337 80.91.224.253 (6 Jun 2004 14:31:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Jun 2004 14:31:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 06 16:31:46 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWygc-0006iT-00 for ; Sun, 06 Jun 2004 16:31:46 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWygc-0003DT-00 for ; Sun, 06 Jun 2004 16:31:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWyh6-0006wV-TA for emacs-devel@quimby.gnus.org; Sun, 06 Jun 2004 10:32:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BWygw-0006vN-7R for emacs-devel@gnu.org; Sun, 06 Jun 2004 10:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BWygv-0006v6-Kb for emacs-devel@gnu.org; Sun, 06 Jun 2004 10:32:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWygv-0006tO-I6 for emacs-devel@gnu.org; Sun, 06 Jun 2004 10:32:05 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BWygL-0004hc-T1 for emacs-devel@gnu.org; Sun, 06 Jun 2004 10:31:29 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BWygL-0005YB-DW; Sun, 06 Jun 2004 10:31:29 -0400 Original-To: "Sean O'Rourke" In-reply-to: (seano@cs.ucsd.edu) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24604 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24604 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. ----------------------------