[plt-scheme] Cleanup on servlet timeout

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

On Mon, Jul 28, 2008 at 12:21 PM, Henk Boom <lunarc.lists at gmail.com> wrote:
> On 2008-07-28, Robby Findler <robby at cs.uchicago.edu> wrote:
>> What does the database connection look like? Is it via the C ffi, or a
>>  network connection or something else?
> The database handle comes directly from the sqlite library, through
> the lib/foreign ffi. sqlite runs in the same process as mzscheme,
> since it's simply a library.

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?


Posted on the users mailing list.