You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Jason Jesso <jj...@global-matrix.com> on 2001/12/10 15:43:04 UTC

xerces and threads

I am writing a MT server that will use xml4c from IBM.

The documentation says that XMLPlatformUtils::Initialize(); and
XMLPlatformUtils::Terminate(); are per process parser
initialization/termination.

Each thread in my server will create an instance of IDOMParser.  Do I do
call the Initialize() method before any threads are called or do I call
Initialize from each thread using a mutex?

When would I call Terminate()?  From each thread?

Thanks
Jason



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org