XMLMutex is a wrapper class defined in Xerces. It provides a very basic mutex using whatever is available on the platform in question. We used it in threadtest as the theory is it should allow the mutex code to move from platform without having to worry about whether you are in a pthreads/windows threads/whatever other threads environment.
Check out :
xml-xerces/c/src/xercesc/util/Mutexes.hpp
Cheers,
BerinMilan Tomic wrote:
Where can I find more info about XMLMutex class? It is used in XSec ThreadTest.cpp, but Xerces doesn't use it in it's ThreadTest.cpp. It is used when one wants to access global scope variables in multithread environment?
Thank you, Milan
