[Top][All Lists]

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

Re: [Bug-gsl] How about a function to set the allocation routines so Han

From: Brian Gough
Subject: Re: [Bug-gsl] How about a function to set the allocation routines so Hans-Boehm GC could be used more easily?
Date: Fri, 16 Feb 2007 10:31:36 +0000
User-agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)

At Thu, 15 Feb 2007 06:44:58 -0900,
Britton Kerin wrote:
> It would be nice if GSL had a call to allow clients to set the
> malloc/realloc/free
> used, like glib does:
> http://developer.gnome.org/doc/API/2.0/glib/glib-Memory-Allocation.html#g-mem-set-vtable
> Of course given the nature of the data used with GSL it would probably
> be good to provide
> support for a vtable slot for at least GC_MALLOC_ATOMIC and use that
> when appropriate.

Thanks for your email.

I think the simplest solution is for the user to do this with the GNU
ld --wrap option, rather than changing GSL itself.  This will also
work for any other library.


Brian Gough
(GSL Maintainer)

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/

reply via email to

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