From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 16737@debbugs.gnu.org, alex.bennee@linaro.org
Subject: bug#16737: Question about wait_reading_process_output
Date: Mon, 15 Jun 2015 17:51:07 +0300 [thread overview]
Message-ID: <831thdowis.fsf@gnu.org> (raw)
In-Reply-To: <jwvr3pdk51f.fsf-monnier+emacs@gnu.org>
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Sun, 14 Jun 2015 23:47:42 -0400
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> > I've been digging into the code trying to get an idea of why bug#16737
> > fires. My question is where in wait_reading_process_output does it
> > ensure the various terminal socket reads are run?
>
> I see noone replied yet. I can't really help you because I don't know
> this code at all, but I really hope someone else will come along to
> help,
I will try.
The terminal socket reads are run in gobble_input, which is called
from detect_input_pending (via a few intermediaries). Emacs calls
detect_input_pending when the pselect call in
wait_reading_process_output finds that some input has arrived, and
wait_reading_process_output was called with READ_KBD or WAIT_FOR_CELL
arguments having values that tell it to do so.
Does this answer your question?
next prev parent reply other threads:[~2015-06-15 14:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 9:49 Question about wait_reading_process_output Alex Bennée
2015-06-15 3:47 ` Stefan Monnier
2015-06-15 8:23 ` bug#16737: " Tassilo Horn
2015-06-15 8:23 ` Tassilo Horn
2015-06-15 14:51 ` Eli Zaretskii [this message]
2015-06-15 16:02 ` bug#16737: " Alex Bennée
2015-06-15 16:15 ` Alex Bennée
2015-06-15 18:04 ` Eli Zaretskii
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=831thdowis.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=16737@debbugs.gnu.org \
--cc=alex.bennee@linaro.org \
--cc=monnier@iro.umontreal.ca \
/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.