Re: libxml2 built with threading support?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com
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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Wade Tregaskis