]> git.eshelyaron.com Git - emacs.git/commit
Avoid segfaults due to C-g when a thread does GC
authorEli Zaretskii <eliz@gnu.org>
Thu, 3 Jul 2025 13:19:09 +0000 (16:19 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:13:28 +0000 (22:13 +0200)
commitccc0fa28a846bbc9123004d6c38fdae2bfc2bec4
tree114dc85dfb4e2e66239c029aa61f942986abc8c5
parent0bd6f163d7376b3a5112636647618332ea2a0b42
Avoid segfaults due to C-g when a thread does GC

* src/keyboard.c (handle_interrupt): Don't forcibly switch threads
if a non-main thread was in GC when the signal handler was called.

(cherry picked from commit 205d69e7e64cf23df0bc7a52b1149f6130c117b5)
src/keyboard.c