diff options
Diffstat (limited to 'src/process.h')
| -rw-r--r-- | src/process.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h index 6ad7f7ddf5e..6e2641d6b06 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -101,6 +101,18 @@ struct Lisp_Process | |||
| 101 | generated, and can be changed by the function | 101 | generated, and can be changed by the function |
| 102 | `set-process-fileter-multibyte'. */ | 102 | `set-process-fileter-multibyte'. */ |
| 103 | Lisp_Object filter_multibyte; | 103 | Lisp_Object filter_multibyte; |
| 104 | /* Should we delay reading output from this process. | ||
| 105 | Initialized from `Vprocess_adaptive_read_buffering'. */ | ||
| 106 | Lisp_Object adaptive_read_buffering; | ||
| 107 | /* Hysteresis to try to read process output in larger blocks. | ||
| 108 | On some systems, e.g. the Linux kernel, emacs is seen as | ||
| 109 | an interactive app also when reading process output, meaning | ||
| 110 | that process output can be read in as little as 1 byte at a | ||
| 111 | time. Value is micro-seconds to delay reading output from | ||
| 112 | this process. Range is 0 .. 50000. */ | ||
| 113 | Lisp_Object read_output_delay; | ||
| 114 | /* Skip reading this process on next read. */ | ||
| 115 | Lisp_Object read_output_skip; | ||
| 104 | }; | 116 | }; |
| 105 | 117 | ||
| 106 | /* Every field in the preceding structure except for the first two | 118 | /* Every field in the preceding structure except for the first two |
| @@ -124,6 +136,9 @@ extern int synch_process_alive; | |||
| 124 | /* Nonzero => this is a string explaining death of synchronous subprocess. */ | 136 | /* Nonzero => this is a string explaining death of synchronous subprocess. */ |
| 125 | extern char *synch_process_death; | 137 | extern char *synch_process_death; |
| 126 | 138 | ||
| 139 | /* Nonzero => this is the signal number that terminated the subprocess. */ | ||
| 140 | extern int synch_process_termsig; | ||
| 141 | |||
| 127 | /* If synch_process_death is zero, | 142 | /* If synch_process_death is zero, |
| 128 | this is exit code of synchronous subprocess. */ | 143 | this is exit code of synchronous subprocess. */ |
| 129 | extern int synch_process_retcode; | 144 | extern int synch_process_retcode; |
| @@ -133,3 +148,6 @@ extern int synch_process_retcode; | |||
| 133 | #ifndef NULL_DEVICE | 148 | #ifndef NULL_DEVICE |
| 134 | #define NULL_DEVICE "/dev/null" | 149 | #define NULL_DEVICE "/dev/null" |
| 135 | #endif | 150 | #endif |
| 151 | |||
| 152 | /* arch-tag: dffedfc4-d7bc-4b58-a26f-c16155449c72 | ||
| 153 | (do not change this comment) */ | ||