[
https://issues.apache.org/jira/browse/XERCESC-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boris Kolpackov closed XERCESC-958.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
Assignee: (was: Xerces-C Developers Mailing List)
I believe this is not a problem any more.
> DOMImplementation Multi-Thread
> ------------------------------
>
> Key: XERCESC-958
> URL: https://issues.apache.org/jira/browse/XERCESC-958
> Project: Xerces-C++
> Issue Type: Bug
> Components: DOM
> Affects Versions: 2.3.0
> Environment: Operating System: Other
> Platform: PC
> Reporter: Martial Gourde
> Fix For: 3.0.1
>
>
> In multi-thread apps I get an Access Violation (C0000005) error at the
> getDOMImplementation method when the second and subsequent threads starts.
> More precisely the failure occurs at the XMLMutex::lock() call. The code I
> used was derived from the DOMCount example. The three source lines may be of
> interest where 'xmlParser' is defined as 'DOMBuilder *' :
> static const XMLCh gLS[] = { chLatin_L, chLatin_S, chNull };
> DOMImplementation *impl =
> DOMImplementationRegistry::getDOMImplementation(gLS);
> xmlParser = ((DOMImplementationLS*)impl)->createDOMBuilder
> (DOMImplementationLS::MODE_SYNCHRONOUS, 0);
> Thanks
> Martial Gourde
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]