[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Safely holding on to a <procedure> reference in C
From: |
Felix |
Subject: |
Re: [Chicken-users] Safely holding on to a <procedure> reference in C |
Date: |
Wed, 23 Feb 2011 05:55:29 -0500 (EST) |
From: Peter Bex <address@hidden>
Subject: Re: [Chicken-users] Safely holding on to a <procedure> reference in C
Date: Wed, 23 Feb 2011 09:23:31 +0100
> On Tue, Feb 22, 2011 at 09:00:13AM +0100, Felix wrote:
>> > I think you can use object-evict for that. It's from unit lolevel, see
>> > http://wiki.call-cc.org/man/4/Unit%20lolevel#object-evict
>>
>> I'm not sure eviction is the right thing to do here.
>
> Interesting. Care to explain the reason that this isn't the right thing?
>
Procedures may refer to shared boxes for assigned lexically referenced
variables. Eviction will break that sharing.
cheers,
felix
Re: [Chicken-users] Safely holding on to a <procedure> reference in C, Felix, 2011/02/22