[EMAIL PROTECTED] wrote:
> David ,  thank you for your suggestion
> 
> 1. In now I already fix my parse function
> 2. I found the Xercesc-C doc ,
>     XMLPlatformUtils::Initialize() and XMLPlatformUtils::Terminate()
>    can use it in after function start and before function end
> 3. In your suggestion , told me 「Please make sure you're not initializing
> and terminating Xerces-C ineach thread 」
>   It's mean in multi-thread env only have once Initialize and Terminate  ?
Yes.  You should initialize the library once before you start processing
and terminate once when you're done.

The initialization code is not thread-safe, and initializing and
terminating the library multiple times is very inefficient.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to