guile-user
[Top][All Lists]
Advanced

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

Re: Need help embedding Guile


From: Thien-Thi Nguyen
Subject: Re: Need help embedding Guile
Date: Wed, 22 Dec 2021 08:52:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

[cc trimmed]

() Dimitris Papavasiliou <dpapavas@protonmail.ch>
() Wed, 22 Dec 2021 11:41:22 +0000

   One idea would be to simply call `scm_gc()' and
   `scm_run_finalizers()' until the latter returns 0.  As far as
   I can see, this should ensure all finalizers are called,
   assumming no references to any foreign objects remain, but I
   see no way of ensuring the latter short of process
   termination...

Do guardians help for this?

I typed "scheme guardians finalization" into duckduckgo and the
first hit was:

 https://www.cs.tufts.edu/~nr/cs257/archive/kent-dybvig/guardians.pdf

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2021) Software Libero
   (pcase (context query)               ;       = Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

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