[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] set-finalizer! and disable-interrupts
From: |
Hans Bulfone |
Subject: |
[Chicken-users] set-finalizer! and disable-interrupts |
Date: |
Fri, 2 Mar 2007 00:15:13 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
hi,
the documentation of set-finalizer! contains:
"Note that the finalizer will not be called when interrupts are disabled."
does this mean that when an object with a finalizer happens to be
garbage-collected while some code in a unit with disabled interrupts
is running
(a) the finalizer is not invoked at all or
(b) the invokation is deferred until interrupts are enabled again?
if (a) then i can't really depend on a finalizer being called, correct?
if (b) then i'd change "when" to "while" in the documentation.
bye,
hans.
- [Chicken-users] set-finalizer! and disable-interrupts,
Hans Bulfone <=