summaryrefslogtreecommitdiff
path: root/src/process.h
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-01-01 23:33:58 +0000
committerKim F. Storm <storm@cua.dk>2004-01-01 23:33:58 +0000
commit2ba4be11b79b7cc0a7485240cabd7d91f209fb94 (patch)
tree72aa8064ddee2defe9c64a72f111bbb867519611 /src/process.h
parent68c6a789cccd8d7e2dacf7258520a8bddc3c0a30 (diff)
downloademacs-2ba4be11b79b7cc0a7485240cabd7d91f209fb94.tar.gz
(struct Lisp_Process): New members for adaptive read
buffering: adaptive_read_buffering, read_output_delay, and read_output_skip.
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h
index 63680a0ed8e..2f46e74d4d0 100644
--- a/src/process.h
+++ b/src/process.h
@@ -101,6 +101,18 @@ struct Lisp_Process
generated, and can be changed by the function
`set-process-fileter-multibyte'. */
Lisp_Object filter_multibyte;
+ /* 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
+ 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
+ this process. Range is 0 .. 50000. */
+ Lisp_Object read_output_delay;
+ /* Skip reading this process on next read. */
+ Lisp_Object read_output_skip;
};
/* Every field in the preceding structure except for the first two