RE: [xml] win32 thread safety patch



Has anyone tried linking against pthreads directly?
 http://sources.redhat.com/pthreads-win32/
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 compare
amount of code that implements reentrant mutexes on win32 with construct
that is written for pthreads (and which would have to be fully executed if
pthread emulation would be chosen). threading part of libxml is sufficiently
small and separated to be implemented natively without any emulation, imo
anyway.




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