aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index fc933440fcc..3674af0e47b 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -656,6 +656,12 @@ mark_threads (void)
656 flush_stack_call_func (mark_threads_callback, NULL); 656 flush_stack_call_func (mark_threads_callback, NULL);
657} 657}
658 658
659void
660unmark_main_thread (void)
661{
662 main_thread.header.size &= ~ARRAY_MARK_FLAG;
663}
664
659 665
660 666
661static void 667static void