Should be OS specific. I can't think of any in-built limits of hand - but then I must admit I've never gone looking :>. From memory I played with the threads figures on my box to find a number that balanced well.
Cheers,
BerinMilan Tomic wrote:
Thank you, Berin. Is there some limit on maximum threads allowed using Apache libraries (Xerces, Xalan, XSec)? ThreadTest.cpp by default use 7 threads; will it work fine with 70?
Best regards, Milan
-----Original Message-----
From: Berin Lautenbach [mailto:[EMAIL PROTECTED] Sent: Saturday, April 03, 2004 5:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Multithread
Milan,
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, Berin
Milan 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
