mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 08:17:35 +02:00
Added an 'end thread' stub
This commit is contained in:
parent
ff18c50aac
commit
74b818ec2f
1 changed files with 6 additions and 0 deletions
|
@ -2494,6 +2494,12 @@ void Cyc_start_thread(gc_thread_data *thd)
|
|||
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
|
||||
// This is called by the collector thread
|
||||
void gc_mark_globals()
|
||||
|
|
Loading…
Add table
Reference in a new issue