guile-user
[Top][All Lists]
Advanced

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

Re: Need for scm_remember_upto_here_* in guile-2.0


From: Ludovic Courtès
Subject: Re: Need for scm_remember_upto_here_* in guile-2.0
Date: Tue, 22 Sep 2015 16:54:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hello,

In practice scm_remember_upto_here_* is useless with libgc, since libgc
also tracks pointers in registers.

scm_gc_free should not be used, unless you really know what you are
doing (it must be passed a valid pointer to the beginning of a
GC-allocated area) and have a real need for it (like you know you’re
freeing a big memory region and waiting for it to be collected would be
impractical.)

Ludo’.




reply via email to

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