]> git.eshelyaron.com Git - emacs.git/commit
Avoid assertion violation when comparing with main-thread
authorEli Zaretskii <eliz@gnu.org>
Wed, 17 Oct 2018 15:19:47 +0000 (18:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 17 Oct 2018 15:19:47 +0000 (18:19 +0300)
commit73567432329a245b2eb02e4c61adea2c8eab6b3a
tree2dbdfc862dc4b4dbea44b2f613720c50915406cc
parent134ba45bf0c11048c44a46c11d5dc8da12ca4d3e
Avoid assertion violation when comparing with main-thread

* src/thread.c (unmark_main_thread): New function.
* src/lisp.h (unmark_main_thread): Prototype it.
* src/alloc.c (garbage_collect_1): Call it after sweeping.
(Bug#33073)

* test/src/thread-tests.el (threads-test-bug33073): New test.
src/alloc.c
src/lisp.h
src/thread.c
test/src/thread-tests.el