[m-rev.] for review: add MR_GC_register_finalizer
Julien Fischer
juliensf at csse.unimelb.edu.au
Mon Aug 13 17:17:16 AEST 2007
On Tue, 24 Jul 2007, Julien Fischer wrote:
> Estimated hours taken: 0.5
> Branches: main
>
> Add an interface to the Boehm collectors finalisation mechanism to the
> Mercury runtime. Mercury bindings to C libraries sometimes
> require this facility in order to reclaim memory when some of the
> memory is under the control of an external library.
> Since we may support alternative garbage collectors in the future, it
> is preferable that the Mercury runtime provide this facility rather
> than user code directly calling the code in Boehm.
>
> runtime/mercury_memory.h:
> Add a wrapper macro for GC_REGISTER_FINALIZER.
In the absence of any review comments, I will commit this as is.
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list