mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 01:07:34 +02:00
Added note
This commit is contained in:
parent
2a226d376f
commit
b3af3aff73
1 changed files with 2 additions and 0 deletions
2
gc.c
2
gc.c
|
@ -544,6 +544,8 @@ void gc_mark_black(object obj)
|
|||
// Gray any child objects
|
||||
// Note we probably should use some form of atomics/synchronization
|
||||
// for cons and vector types, as these pointers could change.
|
||||
// Also this is a case for adding the stack/heap bit, because these could
|
||||
// be stack objects if a thread issued an update.
|
||||
switch(type_of(obj)) {
|
||||
case cons_tag: {
|
||||
gc_collector_mark_gray(car(obj));
|
||||
|
|
Loading…
Add table
Reference in a new issue