Commit 638322a4 authored by Richard M. Stallman's avatar Richard M. Stallman

(struct process): Conditionalize slots adaptive_read_buffering,

read_output_delay and read_output_skip on ADAPTIVE_READ_BUFFERING.
Delete command_channel_p.
parent f77e4514
......@@ -52,8 +52,6 @@ struct Lisp_Process
Lisp_Object buffer;
/* Number of this process */
Lisp_Object pid;
/* Non-nil if this is really a command channel */
Lisp_Object command_channel_p;
/* t if this is a real child process.
For a net connection, it is a plist based on the arguments to make-network-process. */
Lisp_Object childp;
......@@ -101,11 +99,12 @@ struct Lisp_Process
generated, and can be changed by the function
`set-process-fileter-multibyte'. */
Lisp_Object filter_multibyte;
#ifdef ADAPTIVE_READ_BUFFERING
/* Should we delay reading output from this process.
Initialized from `Vprocess_adaptive_read_buffering'. */
Lisp_Object adaptive_read_buffering;
/* Hysteresis to try to read process output in larger blocks.
On some systems, e.g. the Linux kernel, emacs is seen as
On some systems, e.g. GNU/Linux, Emacs is seen as
an interactive app also when reading process output, meaning
that process output can be read in as little as 1 byte at a
time. Value is micro-seconds to delay reading output from
......@@ -113,6 +112,7 @@ struct Lisp_Process
Lisp_Object read_output_delay;
/* Skip reading this process on next read. */
Lisp_Object read_output_skip;
#endif
};
/* Every field in the preceding structure except for the first two
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment