From: Kim F. Storm Date: Thu, 1 Jan 2004 23:33:58 +0000 (+0000) Subject: (struct Lisp_Process): New members for adaptive read X-Git-Tag: ttn-vms-21-2-B4~8028 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ba4be11b79b7cc0a7485240cabd7d91f209fb94;p=emacs.git (struct Lisp_Process): New members for adaptive read buffering: adaptive_read_buffering, read_output_delay, and read_output_skip. --- 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