Variable: process-prioritize-lower-fds
process-prioritize-lower-fds is a variable defined in process.c.
Value
nil
Documentation
Whether to start checking for subprocess output from first file descriptor.
Emacs loops through file descriptors to check for output from subprocesses. If this variable is nil, the default, then after accepting output from a subprocess, Emacs will continue checking the rest of descriptors, starting from the one following the descriptor it just read. If this variable is non-nil, Emacs will always restart the loop from the first file descriptor, thus favoring processes with lower descriptors.
Probably introduced at or before Emacs version 28.1.
Source Code
// Defined in /usr/src/emacs/src/process.c
DEFVAR_BOOL ("process-prioritize-lower-fds", process_prioritize_lower_fds,
doc: /* Whether to start checking for subprocess output from first file descriptor.
Emacs loops through file descriptors to check for output from subprocesses.
If this variable is nil, the default, then after accepting output from a
subprocess, Emacs will continue checking the rest of descriptors, starting
from the one following the descriptor it just read. If this variable is
non-nil, Emacs will always restart the loop from the first file descriptor,
thus favoring processes with lower descriptors. */);