summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/ert.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2021-01-09 21:17:42 +0100
committerPhilipp Stephani <phst@google.com>2021-01-09 21:26:52 +0100
commit4cebd2ded01f733957919cea9d10a67101cb7a67 (patch)
tree03d6987b9a16f111409d2cda87d4fb413ad350ca /lisp/emacs-lisp/ert.el
parentace749f2e3be5b23cf4cd29c702a0e82d4d871c3 (diff)
downloademacs-4cebd2ded01f733957919cea9d10a67101cb7a67.tar.gz
emacs-4cebd2ded01f733957919cea9d10a67101cb7a67.tar.bz2
emacs-4cebd2ded01f733957919cea9d10a67101cb7a67.zip
Don't unblock SIGCHLD too early.
We first need to register the received process ID so that 'handle_child_signal' checks it. Otherwise we might never call 'waitpid' for these processes, risking deadlock. * src/callproc.c (call_process): * src/process.c (create_process): Don't unblock SIGCHLD before registering the process ID to wait for. * src/callproc.c (emacs_spawn): Accept a signal set from the caller.
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
0 files changed, 0 insertions, 0 deletions