Re: [xml] win32 thread safety patch

----- 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
executed if
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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]