Am 14.03.2014 22:23, schrieb Peter Bex:
On Thu, Mar 13, 2014 at 12:44:44PM +0100, pluijzer . wrote:
...

Hello Pluijzer, I had a look at the GC again, and from what I can make of it, this happens only for constants (objects that do not live in the stack or heap).

According to the manual, finalizers are only supported for non-immediate objects anyway:

<procedure>(set-finalizer! X PROC)</procedure>

Registers a procedure of one argument {{PROC}}, that will be
called as soon as the non-immediate data object {{X}} is about to
be garbage-collected (with that object as its argument). Note that
the finalizer will '''not''' be called while interrupts are disabled.
This procedure returns {{X}}.



_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to