emacs-devel
[Top][All Lists]
Advanced

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

Re: cosmic timeout


From: Jarek Czekalski
Subject: Re: cosmic timeout
Date: Sun, 03 Nov 2013 11:01:54 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0.1

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 via email to

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