summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-27 07:48:57 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-27 07:48:57 +0000
commit24ff4f94cc3ddc7b4109bccd1529f21132c9787f (patch)
tree97b648c504e9c0c870a1abd6a16ce5285d0c4713
parent81a116b83b93a2c9ad221d7dc6e73e5e27e3aa7b (diff)
downloadATCD-24ff4f94cc3ddc7b4109bccd1529f21132c9787f.tar.gz
ChnageLogTag: Thu Sep 27 02:41:32 2001 Irfan Pyarali <irfan@cs.wustl.edu>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a6
-rw-r--r--TAO/orbsvcs/tests/Simple_Naming/client.cpp26
2 files changed, 16 insertions, 16 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index f0560efc11e..1781be450b8 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Thu Sep 27 02:41:32 2001 Irfan Pyarali <irfan@cs.wustl.edu>
+
+ * orbsvcs/tests/Simple_Naming/client.cpp: Improved debug
+ statements. Also replace the %8.8x and ACE_OS::thr_self combo
+ with %t.
+
Wed Sep 26 15:30:31 2001 Irfan Pyarali <irfan@cs.wustl.edu>
* performance-tests/RTCorba/Thread_Pool/client.cpp: Allow the user
diff --git a/TAO/orbsvcs/tests/Simple_Naming/client.cpp b/TAO/orbsvcs/tests/Simple_Naming/client.cpp
index 334564607a2..11c303e6fd9 100644
--- a/TAO/orbsvcs/tests/Simple_Naming/client.cpp
+++ b/TAO/orbsvcs/tests/Simple_Naming/client.cpp
@@ -264,7 +264,7 @@ MT_Test::svc (void)
}
ACE_CATCHANY
{
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test");
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test setup");
return -1;
}
ACE_ENDTRY;
@@ -281,18 +281,16 @@ MT_Test::svc (void)
ACE_TRY_ENV);
ACE_TRY_CHECK_EX (BIND);
ACE_DEBUG ((LM_DEBUG,
- "Bound name OK in thread %8.8x \n",
- ACE_OS::thr_self ()));
+ "Bound name OK in thread %t\n"));
}
ACE_CATCH (CosNaming::NamingContext::AlreadyBound, ex)
{
ACE_DEBUG ((LM_DEBUG,
- "Unable to bind in thread %8.8x \n",
- ACE_OS::thr_self ()));
+ "Unable to bind in thread %t\n"));
}
ACE_CATCHANY
{
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test");
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test bind");
// This debug statement works around a IRIX/MIPSPro 7.3 bug (it
// fails with optimize=1 debug=0; but works with any other
// settings for those flags).
@@ -323,19 +321,17 @@ MT_Test::svc (void)
if (id == CosNaming_Client::OBJ1_ID)
ACE_DEBUG ((LM_DEBUG,
- "Resolved name OK in thread %8.8x \n",
- ACE_OS::thr_self ()));
+ "Resolved name OK in thread %t\n"));
}
}
ACE_CATCH (CosNaming::NamingContext::NotFound, ex)
{
ACE_DEBUG ((LM_DEBUG,
- "Unable to resolve in thread %8.8x \n",
- ACE_OS::thr_self ()));
+ "Unable to resolve in thread %t\n"));
}
ACE_CATCHANY
{
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test");
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test resolve");
return -1;
}
ACE_ENDTRY;
@@ -348,18 +344,16 @@ MT_Test::svc (void)
ACE_TRY_ENV);
ACE_TRY_CHECK_EX (UNBIND);
ACE_DEBUG ((LM_DEBUG,
- "Unbound name OK in thread %8.8x \n",
- ACE_OS::thr_self ()));
+ "Unbound name OK in thread %t\n"));
}
ACE_CATCH (CosNaming::NamingContext::NotFound, ex)
{
ACE_DEBUG ((LM_DEBUG,
- "Unable to unbind in thread %8.8x \n",
- ACE_OS::thr_self ()));
+ "Unable to unbind in thread %t\n"));
}
ACE_CATCHANY
{
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test");
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Unexpected exception in MT test unbind");
return -1;
}
ACE_ENDTRY;