Re: libxml2 built with threading support?
Re: libxml2 built with threading support?
- Subject: Re: libxml2 built with threading support?
- From: Jim Correia <email@hidden>
- Date: Mon, 1 Mar 2010 16:54:30 -0500
On Mar 1, 2010, at 4:43 PM, Wade Tregaskis wrote:
>> 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.
Thanks for the pointer.
> To address threading specifically, yes, libxml2 is compiled --with-threads.
Great.
- Jim
_______________________________________________
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