[plt-scheme] Is there any way to disable object moving in GC temporarily?

From: Chiyuan Zhang (pluskid at gmail.com)
Date: Mon Jun 2 21:09:00 EDT 2008

Hi,

For some reason, I can't use the MZ_GC_DECL_REG, MZ_GC_VAR_IN_REG and
MZ_GC_REG related macros provided by mzscheme sometimes. I'm just
wondering is there any function to prevent some pointer pointed object
from being moved. Just like the scheme_dont_gc_ptr function to prevent
an object from being collected. Or is it possible to write such a
helper function?

Thanks!

-- 
pluskid


Posted on the users mailing list.