[Gc] boehm gc and libraries...

kevin lyda kevin at ie.suberic.net
Fri Jan 13 01:29:34 PST 2006

In reading through the Boehm GC docs, I'm still not clear how it deals
with libraries that don't use the Boehm GC.  The simple example would
be libc's strdup.  But there are more complex examples - a DB client
library for MySQL, Postgres, sqlite or libdbi; a GUI library like gtk,
qt or libX11; etc.

Do I still need to free those pointers, or can I safely depend on the gc
to notice them?  Or is there a middle ground where I can notify the GC
that these addresses have been alloced?



More information about the Gc mailing list