MessageTestFactoryRegistry is not thread-safe, but you can easily wrap =
it to make it so.
CppUnit is thread-safe, which the exception of the TypeInfoHelper which =
use a static variable (but it should be initialized at when registering =
the test factory, so it is probably ok).
What exactly are you trying to multithread ?=20
1) running multiple test case at the same time, using multiple test =
result ?
2) a test case which multiple thread ?
3) ???
Baptiste.
----- Original Message -----=20
From: Tzanev, Stefan=20
To: cpp...@li...=20
Sent: Tuesday, July 15, 2003 9:31 PM
Subject: [Cppunit-devel] CppUnit and multi-threading
Dear Sirs,
I'm using CppUnit for a first time and I have problems testing a =
multithreaded system.
Should I create a separate TestFixture (suite) for each thread or is =
there a=20
different approach? That is, does CppUnit support multi-threading?
Is it possible to use TestFactoryRegistry in a multi-threaded =
environment?
Thank you.
Sincerely,
Stefan Tzanev
Software Engineer
Software Applications Group
Respironics, Inc.
Phone: 724-387-4860
=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
CONFIDENTIALITY NOTICE ---------------------- This message, together =
with any attachments, may be legally privileged and is confidential =
information intended only for the use of the individual or entity to =
which it is addressed. It is exempt from disclosure under applicable law =
including court orders. If you are not the intended recipient, you are =
hereby notified that any use, dissemination, distribution or copy of =
this message, or any attachment, is strictly prohibited. If you have =
received this message in error, please notify the original sender and =
delete this message, along with any attachments, from your computer. |