diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-12-22 18:13:16 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-12-22 18:13:16 +0200 |
commit | 5fcc777ff36c3102ddddd2fb932cb8d0b7cc2741 (patch) | |
tree | 17c618f6fa1b60537f0eef627432b7bc9ebefa5e /src/thread.h | |
parent | 3ec1503374d3115651c130eaeee31181266d0863 (diff) | |
download | emacs-5fcc777ff36c3102ddddd2fb932cb8d0b7cc2741.tar.gz emacs-5fcc777ff36c3102ddddd2fb932cb8d0b7cc2741.tar.bz2 emacs-5fcc777ff36c3102ddddd2fb932cb8d0b7cc2741.zip |
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.
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h index 7dee67d6595..0090652b358 100644 --- a/src/thread.h +++ b/src/thread.h @@ -236,6 +236,7 @@ extern void maybe_reacquire_global_lock (void); extern void init_threads_once (void); extern void init_threads (void); extern void syms_of_threads (void); +extern bool primary_thread_p (void *); typedef int select_func (int, fd_set *, fd_set *, fd_set *, const struct timespec *, const sigset_t *); |