Re: Memory management changes
- From: Murray Cumming <murrayc murrayc com>
- To: libxmlplusplus-list <libxmlplusplus-list gnome org>
- Subject: Re: Memory management changes
- Date: Tue, 16 Nov 2010 15:48:10 +0100
On Mon, 2010-11-08 at 16:44 +0100, Murray Cumming wrote:
> Alessandro has kindly created a patch to (hopefully) fix problems with
> using libxml++ in muliple threads.
>
> But it's a rather significant change, meaning that we no longer use
> xmlRegisterNodeDefault() to provide a callback where we create the C++
> instance. We would still use xmlNode::private to store the pointer to
> the C++ instance.
>
> This requires us to check and create a C++ instance in several places
> instead of letting it happen automatically. Can anyone think of a
> downside?
>
> https://bugzilla.gnome.org/show_bug.cgi?id=634123#c13
I have committed this to git master, and I'll do a tarball release soon.
It would be nice if people tested this from git master, please.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]