Re: [xml] win32 thread safety patch
- From: "Robert Collins" <robert collins itdomain com au>
- To: "Serguei Narojnyi" <serguein opencola com>, <xml gnome org>
- Subject: Re: [xml] win32 thread safety patch
- Date: Tue, 8 Jan 2002 09:51:02 +1100
----- Original Message -----
From: "Serguei Narojnyi" <serguein opencola com>
To: <xml gnome org>
Sent: Tuesday, January 08, 2002 9:48 AM
Subject: RE: [xml] win32 thread safety patch
Has anyone tried linking against pthreads directly?
is a maintained port of pthreads to win32, IMO it would keep the xml
codebase cleaner to use this, than a direct win32 implementation.
while this would work, it wouldn't be as efficient, for example
amount of code that implements reentrant mutexes on win32 with
that is written for pthreads (and which would have to be fully
pthread emulation would be chosen). threading part of libxml is
small and separated to be implemented natively without any emulation,
If you examine
(A link from the pthread-win32 page) an independent review was conducted
and found the performance to be approximately equal to that of pure
WIN32 threading calls.
] [Thread Prev