[ http://nagoya.apache.org/jira/browse/XERCESC-42?page=history ]

Alberto Massari updated XERCESC-42:
-----------------------------------

    Priority: Major

> XMLPlatformUtils::Initialize() is not thread safe
> -------------------------------------------------
>
>          Key: XERCESC-42
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-42
>      Project: Xerces-C++
>         Type: Bug
>   Components: Miscellaneous
>     Versions: 1.4
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: Mark Collette
>     Assignee: Xerces-C Developers Mailing List

>
> All of the samples assume that we have a simple main() where we can run 
> Initialize() and Terminate(), but in mine it is a multi-threaded shared library 
> (.so, .dll) which has to field requests from multiple connections, of which the 
> usage of xml parsing is part of several tasks. Since I'm trying to minimize 
> resource usage, I would perfer not to Initialize() on startup, but would rather 
> Initialize(), Terminate() around specific events. The code itself says it's not 
> thread-safe.
> Would it be possible for the platfirm to use mutexes, even though this is 
> before the platform initialization?
> Mark Collette

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to