changeset 53471:b3ac4cfe9253

(struct Lisp_Process): New members for adaptive read buffering: adaptive_read_buffering, read_output_delay, and read_output_skip.
author Kim F. Storm <storm@cua.dk>
date Thu, 01 Jan 2004 23:33:58 +0000
parents 512e5175475c
children 1a5fe79d27f3
files src/process.h
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.h	Thu Jan 01 22:51:46 2004 +0000
+++ b/src/process.h	Thu Jan 01 23:33:58 2004 +0000
@@ -101,6 +101,18 @@
        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