mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 00:07:36 +02:00
WIP
This commit is contained in:
parent
dcf4bfafcf
commit
7ce9b1e389
1 changed files with 4 additions and 0 deletions
|
@ -431,6 +431,10 @@ void gc_mutator_thread_runnable(gc_thread_data *thd, object result);
|
||||||
gc_mutator_thread_blocked(((gc_thread_data *)d), (c))
|
gc_mutator_thread_blocked(((gc_thread_data *)d), (c))
|
||||||
#define return_thread_runnable(d, r) \
|
#define return_thread_runnable(d, r) \
|
||||||
gc_mutator_thread_runnable(((gc_thread_data *)d), (r))
|
gc_mutator_thread_runnable(((gc_thread_data *)d), (r))
|
||||||
|
//#define do_with_blocked_thread(data, cont, result, body) \
|
||||||
|
// set_thread_blocked((data), (cont)); \
|
||||||
|
// body \
|
||||||
|
// return_thread_runnable((data), (result));
|
||||||
gc_heap *gc_get_heap();
|
gc_heap *gc_get_heap();
|
||||||
int gc_minor(void *data, object low_limit, object high_limit, closure cont, object *args, int num_args);
|
int gc_minor(void *data, object low_limit, object high_limit, closure cont, object *args, int num_args);
|
||||||
/* Mutation table to support minor GC write barrier */
|
/* Mutation table to support minor GC write barrier */
|
||||||
|
|
Loading…
Add table
Reference in a new issue