Re: libxml2 built with threading support?
Re: libxml2 built with threading support?
- Subject: Re: libxml2 built with threading support?
- From: Wade Tregaskis <email@hidden>
- Date: Mon, 01 Mar 2010 13:43:58 -0800
> The document at <http://xmlsoft.org/threads.html> says that libxml2 must be compiled —with-threads as a necessary precondition for using it in a thread-safe manner.
>
> Can anyone confirm whether the library was built that way on 10.6.x? 10.5.x?
You can look for yourself in /usr/include/libxml2/libxml/xmlversion.h; those features which were compiled in around surrounded by "#if 1" pragmas, those that weren't, "#if 0". You can use the existence of the appropriate defines to pragmatically adapt your code.
To address threading specifically, yes, libxml2 is compiled --with-threads.
Wade _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden