[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] [patch] make libxml2 slightly more thread-friendly
- From: Daniel Veillard <veillard redhat com>
- To: Ted Phelps <phelps mantara com>
- Cc: Rob Richards <rrichards ctindustries net>, xml gnome org
- Subject: Re: [xml] [patch] make libxml2 slightly more thread-friendly
- Date: Sun, 18 Feb 2007 03:30:53 -0500
On Fri, Feb 16, 2007 at 07:47:45AM -0600, Ted Phelps wrote:
> Rob Richards writes:
> > Ted Phelps wrote:
> > > It should work fine so long as sizeof(LONG) == sizeof(void *), which I
> > > think will be the case for any version of Visual Studio which doesn't
> > > provide InterlockedCompareExchangePointer. Your cast is wrong
> > > -- you should be casting to a (LONG *) rather than a (void **) -- but
> > > otherwise I think it's fine.
> > >
> > That really depends upon the SDK used. For VC6 all I have available is
> > the included SDK which casts to PVOID *, so I used void **.
>
> Weird. The VS8 header files somehow avoid indicating the parameter
> types, so my only information comes from MSDN:
>
> http://msdn2.microsoft.com/en-us/library/ms683568.aspx
I'm away, travelling and in vacations. Please try to agree on a patch
which will work for everybody and I or William will apply it,
thanks !
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]