mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added blocked/runnable macros
This commit is contained in:
parent
3bbf64d440
commit
4ed90f58f8
1 changed files with 4 additions and 0 deletions
|
@ -427,6 +427,10 @@ void gc_wait_handshake();
|
|||
void gc_start_collector();
|
||||
void gc_mutator_thread_blocked(gc_thread_data *thd, object cont);
|
||||
void gc_mutator_thread_runnable(gc_thread_data *thd, object result);
|
||||
#define set_thread_blocked(d, c) \
|
||||
gc_mutator_thread_blocked(((gc_thread_data *)d), (r))
|
||||
#define return_runnable(d, r) \
|
||||
gc_mutator_thread_runnable(((gc_thread_data *)d), (r))
|
||||
gc_heap *gc_get_heap();
|
||||
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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue