|
|
This function locks XML library.
It increments an internal counter to prevent unloading and freeing of XML parser library. Usually, XML parser library is being initialized on demand at the beginning of 'parse' method and is being freed at the end (if necessary, for example Xerces requires initialization/termination, but Expat does not). It may lead to serious performance impact, if multiple calls to 'parse are being done. If rtSaxCppLockXmlLibrary was called, XML parser library won't be freed until rtSaxCppUnlockXmlLibrary is called. |