emacs-devel
[Top][All Lists]
Advanced

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

Re: process.c: read_process_output: hard coded 4096 bytes read limit


From: Stefan Monnier
Subject: Re: process.c: read_process_output: hard coded 4096 bytes read limit
Date: Wed, 26 Jun 2013 09:16:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>    How would you use accept-process-output with an asynchronous process
>    channel?  E.g. when would you call it?  How do you know when there is
>    data available?

> Presumably the protocol specifies a format for the received data that
> includes some kind of "end of message" marker.  You know there is data
> available when that marker is not present (given a well-formed message).
> For example:

But accept-process-output is synchronous: while running it, nothing else
can happen.  It's important to make sure that the performance is good
enough with accept-process-output but it should *also* be good enough
without accept-process-output.


        Stefan



reply via email to

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