]> git.eshelyaron.com Git - emacs.git/commit
Fix last change with thread marking under GC_CHECK_MARKED_OBJECTS
authorEli Zaretskii <eliz@gnu.org>
Thu, 22 Dec 2016 16:13:16 +0000 (18:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 Dec 2016 16:13:16 +0000 (18:13 +0200)
commit5fcc777ff36c3102ddddd2fb932cb8d0b7cc2741
tree17c618f6fa1b60537f0eef627432b7bc9ebefa5e
parent3ec1503374d3115651c130eaeee31181266d0863
Fix last change with thread marking under GC_CHECK_MARKED_OBJECTS

* src/thread.c (primary_thread_p): New function.
* src/alloc.c (mark_object): Use 'primary_thread_p' to bypass tests
meant for thread objects allocated dynamically.
* src/thread.h (primary_thread_p): Add prototype.
src/alloc.c
src/thread.c
src/thread.h