[xml] win32 threads feedback
- From: Stéphane Bidoul <stephane bidoul softwareag com>
- To: <xml gnome org>, "Igor Zlatkovic" <igor zlatkovic com>
- Subject: [xml] win32 threads feedback
- Date: Thu, 1 May 2003 13:05:05 +0200
Hi Igor,
I found out that the thread-enabled libxml2 does not work
with the python bindings: it crashes on "if (!tlstate_inited) {".
I think it's because Compiler TLS does not work when the
DLL is loaded through LoadLibrary (MSVC documentation).
Everything looks fine if libxml2 is compiled with threads=native,
which uses TlsAlloc & co.
So you may want to default to threads=native instead of
threads=ctls, since it allows for a wider range of usage scenarios.
-sbi
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]