CppUnit and multi-threading
"Tzanev, Stefan" <[email protected]> Tue, 15 Jul 2003 15:31:17 -0400
| Newsgroups | gmane.comp.lib.cppunit.devel |
|---|---|
| Message-ID | <B6F519F39C78D511BA690008C724640A0510957C@mrms1.murry.us.respironics.com> |
This is a multi-part message in MIME format. ------_=_NextPart_001_01C34B07.A95610B0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable 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, =20 Stefan Tzanev Software Engineer Software Applications Group Respironics, Inc. Phone: 724-387-4860 =20 =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. ------_=_NextPart_001_01C34B07.A95610B0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"> <TITLE>Message</TITLE> <META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3D"Courier New" size=3D2><SPAN class=3D571352116-15072003>D= ear=20 Sirs,</SPAN></FONT></DIV> <DIV><FONT face=3D"Courier New" size=3D2><SPAN class=3D571352116-15072003>I= 'm using=20 CppUnit for a first time and I have problems testing a multithreaded=20 system.</SPAN></FONT></DIV> <DIV><FONT face=3D"Courier New" size=3D2><SPAN class=3D571352116-15072003>S= hould I=20 create a separate TestFixture (suite) for each thread or is there a=20 </SPAN></FONT></DIV> <DIV><FONT face=3D"Courier New" size=3D2><SPAN class=3D571352116-15072003>d= ifferent=20 approach? That is, does CppUnit support multi-threading?</SPAN></FONT></DIV> <DIV><FONT face=3D"Courier New" size=3D2><SPAN class=3D571352116-15072003>I= s it=20 possible to use TestFactoryRegistry in a multi-threaded=20 environment?</SPAN></FONT></DIV> <DIV><FONT face=3D"Courier New" size=3D2><SPAN class=3D571352116-15072003>T= hank=20 you.</SPAN></FONT></DIV> <DIV><SPAN class=3D571352116-15072003><FONT face=3D"Courier New"=20 size=3D2>Sincerely,</FONT></SPAN></DIV> <DIV><SPAN class=3D571352116-15072003><FONT face=3D"Courier New"=20 size=3D2></FONT></SPAN> </DIV> <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt" align=3Dleft><B=20 style=3D"mso-bidi-font-weight: normal"><I=20 style=3D"mso-bidi-font-style: normal"><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-p= roof: yes">Stefan=20 Tzanev<?xml:namespace prefix =3D o ns =3D "urn:schemas-microsoft-com:office= :office"=20 /><o:p></o:p></SPAN></I></B></P> <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt" align=3Dleft><I=20 style=3D"mso-bidi-font-style: normal"><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-p= roof: yes">Software=20 Engineer<o:p></o:p></SPAN></I></P> <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt" align=3Dleft><I=20 style=3D"mso-bidi-font-style: normal"><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-p= roof: yes">Software=20 Applications Group<o:p></o:p></SPAN></I></P> <DIV align=3Dleft><I style=3D"mso-bidi-font-style: normal"><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-p= roof: yes; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: E= N-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Respironics,= =20 Inc.</SPAN></I></DIV> <DIV align=3Dleft><I style=3D"mso-bidi-font-style: normal"><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-p= roof: yes; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: E= N-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Phone:=20 724-387-4860</SPAN></I></DIV> <DIV> </DIV></BODY></HTML> =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. ------_=_NextPart_001_01C34B07.A95610B0-- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1