# HG changeset patch # User Kim F. Storm # Date 1073000038 0 # Node ID b3ac4cfe92539f6e6c2a1823bff7d640c2aa0cc2 # Parent 512e5175475c47393707bc859c125bc88714aa1f (struct Lisp_Process): New members for adaptive read buffering: adaptive_read_buffering, read_output_delay, and read_output_skip. diff -r 512e5175475c -r b3ac4cfe9253 src/process.h --- 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