David Bertoni wrote:
James Berry wrote:
On Mar 7, 2008, at 10:42 AM, Boris Kolpackov wrote:
David Bertoni <[EMAIL PROTECTED]> writes:
We should try to do the same with BinHTTPURLInputSource.
Can't do that; it creates a mutex for which you need Initialize().
But it could use a native windows mutex, for which it doesn't need
initialize.
We would want to use a CriticalSection rather than a mutex, but I
would still rather just initialize the statics during
XMLPlatformUtils::Initialize(). We still face the double-checked
locking issue with a CriticalSection.
I think that the Windows NetAccessor has been designed to be very lazy,
as it does load the network libraries on demand instead of being linked
against them. If we end up initializing them inside Initialize, we could
just remove that extra layer of code, but this could be an unwelcomed
change for some of the users.
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]