Re: [xml] [PATCH] libxml2-2.6.1 for BeOS
- From: Daniel Veillard <veillard redhat com>
- To: shard neoni net
- Cc: xml gnome org
- Subject: Re: [xml] [PATCH] libxml2-2.6.1 for BeOS
- Date: Fri, 31 Oct 2003 17:53:51 -0500
On Fri, Oct 31, 2003 at 10:24:12PM +0100, shard neoni net wrote:
Hi,
I know some changes were already added to CVS but i wanted to make "clean"
diff. If it's much trouble i can try make patch for current CVS.
Yeah, could you do that ? I always feel unsafe if I need to edit patches
because only part of it only can apply.
No one answered my question about it, I modified xmlMutex implementation
so now only thread who locked mutex can unlock it. Since i used thread_id
for it, i could remove the same tid from xmlRMutex. Trying to lock from
the same thread will make deadlock - didn't change that because i've read
in pthread docs that default pthread_mutex type makes the same (and i
wanted to keep it funtion the more or less the same way as on other
platforms).
I think libxml2 usage of threads is relatively basic, while those different
semantic are really important of generic thread APIs for the limited use
within libxml2 this should not have side effects.
I also patched nanohttp code for making nonblocking socket on BeOS (didn't
work before). Now i can download whole html from url, not only first x
bytes ;D
Okay :-) if you can make new patches that would be great,
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.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]