]> git.eshelyaron.com Git - emacs.git/commit
Avoid aborts when a thread is signaled while "waiting for input".
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Oct 2021 11:47:32 +0000 (14:47 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Oct 2021 11:47:32 +0000 (14:47 +0300)
commite8488808dfe1460ce07042a1a523097ab90cf079
tree0387fb7758ef218db32b26398e49a40c7ff6d4c6
parent21397cce51dc3f9b6e9b0e7a5cc877b63efa8dd4
Avoid aborts when a thread is signaled while "waiting for input".

* src/process.c (kbd_is_ours): New function.
(wait_reading_process_output): Set 'waiting_for_input' only if the
current thread is monitoring the keyboard descriptor.  See also
https://lists.gnu.org/archive/html/emacs-devel/2021-10/msg01180.html.
(Bug#51229)
src/process.c