mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 16:57:35 +02:00
Added TODO
This commit is contained in:
parent
5fd25f977f
commit
e1063c4e19
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ static void Cyc_heap_init(long heap_size)
|
||||||
Cyc_num_mutators = 1; // TODO: alloca this using a vpbuffer, or maybe another type of data structure
|
Cyc_num_mutators = 1; // TODO: alloca this using a vpbuffer, or maybe another type of data structure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TODO: relocate this to a runtime function (that accepts gc_thread_data and does the setjmp/dispatch, and
|
||||||
|
to cgen (to setup a new gc_thread_data and call to the new function)
|
||||||
|
|
||||||
static void Cyc_main (long stack_size, char *stack_base)
|
static void Cyc_main (long stack_size, char *stack_base)
|
||||||
{
|
{
|
||||||
mclosure0(clos_halt,&Cyc_halt); // Halt if final closure is reached
|
mclosure0(clos_halt,&Cyc_halt); // Halt if final closure is reached
|
||||||
|
|
Loading…
Add table
Reference in a new issue