[Fwd: Re: [Ecls-list] gc problem]

Juan Jose Garcia Ripoll worm at arrakis.es
Thu Jul 8 02:51:20 UTC 2004


Michael O'Connor wrote:

> Is there an equivalent function to ecl_register_root()
> that un-registers a C variable (once the program's
> finished with it), and allows the garbage collector to
> reclaim it?
>  
>
Not yet. The problem is that the Boehm-Weiser gc. does not allow it, and 
thus, we have to keep our own pool of roots and set up a hook that scans 
them at gc time. I will take note of it.

Regards,

Juanjo

-- 
Max-Planck-Institut fuer Quantenoptik    +49/(0)89/32905-345
Hans-Kopfermann-Str. 1, D-85748        www.mpq.mpg.de/Theorygroup/CIRAC/
Garching b. Muenchen, Germany        Juan.Ripoll at mpq.mpg.de







More information about the ecl-devel mailing list