And beyond that, while I can access the global var x in a modified example from 
the docs, in my code, that uses a global var, I get this error when trying to 
create a thread:
    
    
    Error: 'processSegment' is not GC-safe as it accesses 'globalMem' which is 
a global using GC'ed memory
    
    
    Run

I tried changing it from a var to a ref object type but no luck.

Reply via email to