>[email protected] wrote:
>> Hi ,
>>         I have a c++ multi-thread application in AIX
>>
>>         In Multi-thread env , can i use for that ?
>No, you must synchronize the calls.  The other option is to simply
>initialize when your application starts, and terminate when it ends.

hi, like  this ?
In this sample , xml_function will core dump in first XML code ( XMLCh *
XML_Core = XMLString::transcode("Core") )
Initialize and terminate have only once in Server Main ?

Server Main
{
    try
  {
        XMLPlatformUtils::Initialize();
  }
  catch (const XMLException& toCatch)
  {
        char* message = XMLString::transcode(toCatch.getMessage());
         XMLString::release(&message);
         XMLPlatformUtils::Terminate();
        return 1;
  }

     function A () ;
     function B () ;


        XMLPlatformUtils::Terminate()
}



Best Regards, Sincerely


 --------------------------------------------------------------------------- 
                                                         TSMC PROPERTY       
 This email communication (and any attachments) is proprietary information   
 for the sole use of its                                                     
 intended recipient. Any unauthorized review, use or distribution by anyone  
 other than the intended                                                     
 recipient is strictly prohibited.  If you are not the intended recipient,   
 please notify the sender by                                                 
 replying to this email, and then delete this email and any copies of it     
 immediately. Thank you.                                                     
 --------------------------------------------------------------------------- 




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to