diff options
author | Philipp Stephani <phst@google.com> | 2021-01-17 14:00:16 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-01-17 14:02:36 +0100 |
commit | 1773679af3241919a85d6174b1554070a63cca79 (patch) | |
tree | cc5d73f8615beaa9e1bbff36b45516c89c9080b5 /test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-variable-alias.el | |
parent | 39a65844e8d67b5ca3bb2d179e899ff99cd85618 (diff) | |
download | emacs-1773679af3241919a85d6174b1554070a63cca79.tar.gz emacs-1773679af3241919a85d6174b1554070a63cca79.tar.bz2 emacs-1773679af3241919a85d6174b1554070a63cca79.zip |
Ensure that sentinels are called during 'accept-process-output'.
When we're trying to notify a process about a status change, we need
to ignore the SIGCHLD pipe temporarily, otherwise the code would
likely not run into the timeout case that's necessary for a status
change to happen.
* src/process.c (wait_reading_process_output): Ignore the SIGCHLD pipe
when notifying a process about a status change.
* test/src/process-tests.el (process-tests/sentinel-called)
(process-tests/sentinel-with-multiple-processes): New unit tests.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-variable-alias.el')
0 files changed, 0 insertions, 0 deletions