]> git.eshelyaron.com Git - emacs.git/commit
Avoid quitting inside a critical section on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Thu, 23 Feb 2017 16:15:05 +0000 (18:15 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 23 Feb 2017 16:15:05 +0000 (18:15 +0200)
commit5114b3a2047a9bcdb72fddf35e70201c16eb39a3
treeee886ff5771ec6ae69c15a317f19741be31a7fab
parent4381015bd13c51cd47aad34bed82f40485d774d3
Avoid quitting inside a critical section on MS-Windows

* src/w32uniscribe.c (uniscribe_list_family):
* src/w32font.c (w32font_list_family, w32font_text_extents)
(w32font_list_internal, w32font_match_internal)
(list_all_matching_fonts): Prevent quitting while these functions
cons lists of fonts, to avoid leaving the critical section taken
by the main thread, which will then cause any other thread
attempting to enter the critical section to hang.  (Bug#25279)
src/w32font.c
src/w32uniscribe.c