all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jarek Czekalski <jarekczek@poczta.onet.pl>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: emacs-devel@gnu.org
Subject: Re: cosmic timeout
Date: Sun, 03 Nov 2013 11:01:54 +0100	[thread overview]
Message-ID: <52761F12.5090204@poczta.onet.pl> (raw)
In-Reply-To: <87wqkprhqk.fsf@uwakimon.sk.tsukuba.ac.jp>

W dniu 11/03/2013 09:50 AM, Stephen J. Turnbull pisze:
>   > I will investigate, why the infinite wait is demanded by Emacs, but if
>   > you like to answer the above question in advance, that helps.
>
> It's not an infinite wait.  It's Emacs blocking on *any* input.  The
> function should return as soon as there's input.

I identified this infinite waiting for input:

         key = read_char (prevent_redisplay ? -2 : NILP (prompt),
                      current_binding, last_nonmenu_event,
                              &used_mouse_menu, NULL);

where NULL means no timeout. keyboard.c 9072

I don't call it an error, but just to make a point of a cosmic timeout. 
It originates from here.

The clue of the problem is different, because even when timeout is set 
to a number of 30 seconds, still wait_reading_process_output gets 
blocked until timeout expires.

I will dig more into it and definitely finish it in some way, perhaps 
reporting a bug in something.

Jarek




      reply	other threads:[~2013-11-03 10:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-02 23:20 cosmic timeout Jarek Czekalski
2013-11-03  3:44 ` Eli Zaretskii
2013-11-03  7:42   ` Jarek Czekalski
2013-11-03  8:50     ` Stephen J. Turnbull
2013-11-03 10:01       ` Jarek Czekalski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52761F12.5090204@poczta.onet.pl \
    --to=jarekczek@poczta.onet.pl \
    --cc=emacs-devel@gnu.org \
    --cc=stephen@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.