On Sat, Aug 10, 2019 at 08:04:31AM +0300, megane wrote:
> megane writes:
> > Also signal an error if trying to re-enter. This also would cause an
> > infinite loop (when calling (gc #t) inside a finalizer). It would
> > need special handling if re-entry is to be supported.
>
> This is too
megane writes:
>
> Also signal an error if trying to re-enter. This also would cause an
> infinite loop (when calling (gc #t) inside a finalizer). It would
> need special handling if re-entry is to be supported.
This is too aggressive. The call from ##sys#interrupt-hook should still
go
Hi,
Here's a fix for #1586.
You can trigger the second case with this (run compiled):
(cond-expand
(chicken-5 (import (chicken base))
(import chicken.gc))
(else (import chicken)))
(let ([o (vector)])
(set-finalizer! o (lambda (_)
(print "in