Re: [xml] Re: How to detect at run-time whether libxml2 was compiled	with enabled mutlithreading support?
- From: Daniel Veillard <veillard redhat com>
- To: "Andrew W. Nosenko" <andrew w nosenko gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Re: How to detect at run-time whether libxml2 was compiled	with enabled mutlithreading support?
- Date: Fri, 2 Sep 2005 08:28:52 -0400
On Fri, Sep 02, 2005 at 01:56:50PM +0300, Andrew W. Nosenko wrote:
On 8/2/05, Andrew W. Nosenko <andrew w nosenko gmail com> wrote:
How to detect at run-time whether libxml2 was compiled with enabled
mutlithreading support (--with-threads)?
Reason of question: I just try to avoid following scenario:
  1. application builded and tested on the machine with thread-aware
libxml2 (--with-threads).
  2. user copied application (binary) to the machine where libxml2 builded with
      disabled threads support (--without-threads).
  3. Application misterious fails :-(
Attached patch solves this issue.
  Idea is good, implementation not so. The function goes into threads.c
and the declaration in the system independant <libxml/threads.h> include.
I integrated it but not by applying your patch,
  thanks,
Daniel
-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]