Scheme Request for Implementation 246,
"Guardians",
by John Cowan,
is now available for discussion.
Its draft and an archive of the ongoing discussion are available at <
https://srfi.schemers.org/srfi-246/>.
You can join the discussion of the draft by filling out the
subscription form on that page.
You can contribute a message to the discussion by sending it to <
https://srfi-email.schemers.org/srfi-246/>.
Here's the abstract:
Guardians allow programs to protect objects from deallocation by the
garbage collector and to determine which objects would otherwise
have been deallocated. When the object has associated non-memory
resources, a program can register it with a guardian. The GC will
mark inaccessible objects but will not collect them; at the
program's convenience, inaccessible objects are removed from the
guardian and their non-memory resources are disposed of. Guardians
allow objects to be saved from deallocation indefinitely so that
they can be reused or so that clean-up or other actions can be
performed using the data stored within the objects. Guardians avoid
the problems associated with classical finalizers detailed in the
Rationale section.
Regards,
SRFI Editor
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)