Added an 'end thread' stub

This commit is contained in:
Justin Ethier 2015-12-14 21:58:41 -05:00
parent ff18c50aac
commit 74b818ec2f

View file

@ -2494,6 +2494,12 @@ void Cyc_start_thread(gc_thread_data *thd)
exit(0); exit(0);
} }
void Cyc_end_thread(gc_thread_data *thd) {
// TODO: call pthread_exit?
// alternatively could call longjmp with a null continuation, but that seems
// more complicated than necessary
}
// Mark globals as part of the tracing collector // Mark globals as part of the tracing collector
// This is called by the collector thread // This is called by the collector thread
void gc_mark_globals() void gc_mark_globals()