summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/re-builder.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-07-17 11:54:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-07-17 11:55:02 -0700
commit0592cefd03f1de2f04b721d07a16e6e0a9e48f73 (patch)
tree1a4f3ee25e0c76efda45b4603039cf289103e925 /lisp/emacs-lisp/re-builder.el
parenteed81d277f5f095399611d52b4ff814622d44f1c (diff)
downloademacs-0592cefd03f1de2f04b721d07a16e6e0a9e48f73.tar.gz
emacs-0592cefd03f1de2f04b721d07a16e6e0a9e48f73.tar.bz2
emacs-0592cefd03f1de2f04b721d07a16e6e0a9e48f73.zip
Fix hang with large yanks This should fix the bug fixed by Mike
Crowe's patch in: https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html A problem in this area has been reported by several users; see Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283. This fix differs from Mike Crowe's patch in that it should avoid a race condition that could lose SIGIO signals. ignore_sigio dates back to the 1980s when some platforms couldn't block signals, and could only ignore them, which led to races when signals arrived while being ignored. We shouldn't have to worry about those old platforms now. * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove. * src/emacs.c (shut_down_emacs): Don't call ignore_sigio; unrequest_sigio should suffice. * src/keyboard.c (kbd_buffer_store_buffered_event): Use unrequest_sigio, not ignore_sigio. (kbd_buffer_get_event): Call request_sigio when getting the ball rolling again.
Diffstat (limited to 'lisp/emacs-lisp/re-builder.el')
0 files changed, 0 insertions, 0 deletions