[Gc] Changing ‘GC_should_collect’ to account for malloc’d memory

Andy Wingo wingo at pobox.com
Sun Feb 27 04:54:46 PST 2011


On Sun 27 Feb 2011 13:29, ludo at gnu.org (Ludovic Courtès) writes:

> I think it’s reasonable in the case of Guile where most malloc’d C
> objects provided by C libs are associated with a GC_MALLOC’d Scheme
> object that has the same lifetime.

This would be the case when your whole program is related to Guile, but
if you just use it as an extension to an existing C or C++ application,
that might not be the case.

Regards,

Andy
-- 
http://wingolog.org/



More information about the Gc mailing list