guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

an add-finalizer! by any other name


From: Andy Wingo
Subject: an add-finalizer! by any other name
Date: Thu, 15 Mar 2012 10:50:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hello,

I had a realization yesterday, that our documentation misses the point
of guardians.  Guardians exist to allow finalization of resources
without introducing concurrency.  However if you pump a guardian from
the after-gc-hook, as recommended by "GC Hooks" in the manual, a
guardian is simply a finalizer, implemented in a roundabout way.

Food for thought!

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]