[R6RS] I/O <-> GC question

dyb at cs.indiana.edu dyb
Tue Nov 23 13:42:32 EST 2004


Chez Scheme has primitives to lock and unlock objects.  A locked object
is fixed in its present memory location until unlocked.  I would use this
feature in the circumstance you describe rather than create a new type of
object, but locking may not be as easy in other collectors.  On the other
hand, if an implementation can support statically allocated byte vectors
at all, I don't see any reason why they would need to be a disjoint type.

Kent


More information about the R6RS mailing list