[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Clarification regarding Same Null checks in xmlInitThreads(Threads.c)
- From: Ashwin <ashwins huawei com>
- To: veillard redhat com
- Cc: ashutosh_p huawei com, xml gnome org, ranjit huawei com
- Subject: Re: [xml] Clarification regarding Same Null checks in xmlInitThreads(Threads.c)
- Date: Fri, 19 Oct 2007 16:51:02 +0530
>The fact taht the test is double is absolutely no problem.
>For the general principle of those tests,i
> 1/ it's to avoid forcing linking to -lpthread by libxml2 while
> using it if the final application uses it
> 2/ it uses ELF weak references
> it's not simple, depends on the ELF format and compiler specifics.
Thanks for the information....
One final query in the xmlInitThreads function should there be null checks
for pthread_cond_destroy and pthread_cond_wait, or is it ok as it is?
Regards
Ashwin
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]