chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] quick port question


From: Graham Fawcett
Subject: Re: [Chicken-users] quick port question
Date: Sun, 25 Feb 2007 20:36:48 -0500

On 2/24/07, Kon Lovett <address@hidden> wrote:
On Feb 24, 2007, at 4:40 PM, Peter Keller wrote:
> If you need to do this type of thing, unwind-protect is your
> friend. There
> is no guarantee that the finalizer will be called when it *must*
> be called in order not to run out of file descriptors when you need
> something. Unwind-protect is the way to do this type of clean up.

Yes, or use the 'call-with-*-file' & 'with-*-file' procedures.
Automatic system resource release upon GC is nice but not R5RS behavior.

All good points -- thanks.

Graham




reply via email to

[Prev in Thread] Current Thread [Next in Thread]