Re: [MIT-Scheme-devel] reference barriers

2010-08-14 Thread Chris Hanson
Sounds fine to me. On Fri, Aug 13, 2010 at 4:27 PM, Taylor R Campbell campb...@mumble.net wrote: I'd like to add a procedure called REFERENCE-BARRIER to the system. (REFERENCE-BARRIER x) has the consequence that whatever the value of x, the garbage collector must not reclaim the storage of

[MIT-Scheme-devel] reference barriers

2010-08-13 Thread Taylor R Campbell
I'd like to add a procedure called REFERENCE-BARRIER to the system. (REFERENCE-BARRIER x) has the consequence that whatever the value of x, the garbage collector must not reclaim the storage of anything strongly referenced by x until after the call to REFERENCE-BARRIER. For example, the following