[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #447: Inconsistency when calling set-finalizer! m
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #447: Inconsistency when calling set-finalizer! multiple times on the same object |
Date: |
Fri, 10 Dec 2010 19:43:44 -0000 |
#447: Inconsistency when calling set-finalizer! multiple times on the same
object
----------------------+-----------------------------------------------------
Reporter: syn | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.7.0
Component: unknown | Version: 4.6.x
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment(by zbigniew):
Weird. I increased your finalizers to 3 and added a (gc #t) to the end as
well. Both cases look like they are behaving strangely.
Compiled:
{{{
;; (gc #t)
[debug] running 1 finalizers (2 live, 3 allocated) ...
c[debug] running 1 finalizers (1 live, 3 allocated) ...
b[debug] running 1 finalizers (0 live, 3 allocated) ...
;; program end
[debug] forcing finalizers...
a[debug] application terminated normally
}}}
Interpreted (csi -script):
{{{
;; (gc #t)
[debug] running 1 finalizers (2 live, 3 allocated) ...
;; program end
[debug] forcing finalizers...
c[debug] application terminated normally
}}}
--
Ticket URL: <http://bugs.call-cc.org/ticket/447#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.