Re: [xml] Windows threading issues
- From: Stéphane Bidoul <stephane bidoul softwareag com>
- To: Jesse Pelton <jsp PKC com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] Windows threading issues
- Date: Thu, 10 Jul 2003 21:22:45 +0200
Jesse Pelton wrote:
So, my questions:
1) Does my assessment that libxml needs a patch to work in my scenario make
sense?
Yes, it seems so... the crashes with threads cleanup and LIBXML_STATIC
have been reported last month:
http://mail.gnome.org/archives/xml/2003-June/msg00108.html
(and we still need to review Eugene's patch for that memory leak...)
I've never tested LIBXML_STATIC, so I'm not certain the watchdog thread
can be made to work correctly. In any case, creating additional threads
just for that
is not optimal if you have alternative solutions, which is your case.
2) If so, does my solution make sense, or is there a better approach?
You really don't want to use libxml2.dll, don't you? ;-)
Hm. It's probably better to find a way to compile with LIBXML_STATIC,
otherwise,
when Igor will add the __declspec(dllexport), your dll will end up
exporting the whole
libxml api.
So that additional define you suggest would say:
I-know-I'm-creating-a-static-libxml-but-it-will-be-used-
from-inside-a-dll-and-I-shall-call-xmlDllMain-from-my-own-DllMain
Maybe LIBXML_STATIC_FOR_DLL?
-sbi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]