From: Andreas Schwab <schwab@linux-m68k.org>
To: Miguel Guedes <miguel.a.guedes@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: process.c: read_process_output: hard coded 4096 bytes read limit
Date: Sun, 23 Jun 2013 11:28:38 +0200 [thread overview]
Message-ID: <87txkpjhvd.fsf@igel.home> (raw)
In-Reply-To: <kq3ssm$b00$1@ger.gmane.org> (Miguel Guedes's message of "Sat, 22 Jun 2013 10:05:10 +0000 (UTC)")
Miguel Guedes <miguel.a.guedes@gmail.com> writes:
> A minor mode I've written that sometimes receives 500-800KB of data as a
> response from an async network connection (opened via make-network-
> process) takes several seconds to fully receive the data due to the hard
> coded limit mentioned above and the fact that emacs waits between reads
> (probably in wait_reading_process_output upon receiving a signal in
> sigchld_handler).
If you call accept-process-output with this process it should read
whatever is available without delay.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2013-06-23 9:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-22 10:05 process.c: read_process_output: hard coded 4096 bytes read limit Miguel Guedes
2013-06-22 17:27 ` Paul Eggert
2013-06-23 8:59 ` Miguel Guedes
2013-06-23 9:28 ` Andreas Schwab [this message]
2013-06-25 8:20 ` Miguel Guedes
2013-06-26 11:57 ` Thien-Thi Nguyen
2013-06-26 13:16 ` Stefan Monnier
2013-06-27 6:03 ` Thien-Thi Nguyen
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=87txkpjhvd.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=emacs-devel@gnu.org \
--cc=miguel.a.guedes@gmail.com \
/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.