[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] newbie: questions about set-finalizer!
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] newbie: questions about set-finalizer! |
Date: |
Thu, 29 Jan 2009 02:41:06 -0600 |
On Mon, Dec 22, 2008 at 3:03 AM, felix winkelmann <address@hidden> wrote:
> Please try this [finalizer patch].
Hi. I am seeing finalizers fail to execute on recent SVN and I think
it is the result of this change. I backed out the patch and it works
okay again.
On Version 3.4.10 - SVN rev. 13079 - macosx-unix-gnu-x86
and Version 4.0.0x5 - SVN rev. 13079 - macosx-unix-gnu-x86
#;1> (let ((abc (vector 5))) (set-finalizer! abc (lambda (x) (print
"final"))) (void))
#;2> (gc #t)
142744
On Version 3.3.10 - SVN rev. 11733 - macosx-unix-gnu-x86,
and on 4.0.0x5 rev. 13079 with reversed runtime.c patch:
#;1> (let ((abc (vector 5))) (set-finalizer! abc (lambda (x) (print
"final"))) (void))
#;2> (gc #t)
final ; right
139240
- Re: [Chicken-users] newbie: questions about set-finalizer!,
Jim Ursetto <=