This commit is contained in:
Justin Ethier 2016-01-21 21:57:42 -05:00
parent dcf4bfafcf
commit 7ce9b1e389

View file

@ -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 */