Andy Wingo <[email protected]> writes:

> 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!
I could have told you that. I already implement an add-finalizer! in
roundabout way using guardians  :P

-- 
Ian Price

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"

Reply via email to