[plt-scheme] Cleanup on servlet timeout

From: Robby Findler (robby at cs.uchicago.edu)
Date: Mon Jul 28 14:26:13 EDT 2008

On Mon, Jul 28, 2008 at 1:25 PM, Henk Boom <lunarc.lists at gmail.com> wrote:
> On 2008-07-28, Robby Findler <robby at cs.uchicago.edu> wrote:
>> I see. Not knowing enough about databases, I wonder if the sqlite
>>  library can integrate with custodian-shutdown-all so that it
>>  (gracefully) closes the database connection when the custodian gets
>>  shutdown? Does that make sense?
> I think it makes sense. The only way I see to do that is with the C
> function scheme_add_managed. Is there a way to do this from scheme,
> when using the new ffi?

I believe that new custodian cleanup actions can only be added at the
C layer, but I'm not sure.


Posted on the users mailing list.