diff options
author | bugzilla <bugzilla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-11 17:37:03 +0000 |
---|---|---|
committer | bugzilla <bugzilla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-11 17:37:03 +0000 |
commit | 0540d9cc68a5172e390e439cae1554eb4746e18d (patch) | |
tree | b4c3109dca85749f664838d8a441a020d99ebfc6 | |
parent | 9110472890b306782ff59a8b4238e3e87981c864 (diff) | |
download | ATCD-0540d9cc68a5172e390e439cae1554eb4746e18d.tar.gz |
ChangeLogTag: Tue Jan 11 11:20:27 2000 Irfan Pyarali <irfan@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 8 | ||||
-rw-r--r-- | TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp | 12 | ||||
-rw-r--r-- | TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp | 14 |
3 files changed, 21 insertions, 13 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 58f975a56f3..03396a649fd 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,11 @@ +Tue Jan 11 11:20:27 2000 Irfan Pyarali <irfan@cs.wustl.edu> + + * performance-tests/RTCorba/Oneways/Reliable/server.cpp (set_rt_mode): + * performance-tests/RTCorba/Oneways/Reliable/client.cpp (set_rt_mode): + + If errors occur while setting the thread priority, print a + message but don't abandon the test. + Tue Jan 11 00:27:51 2000 Nanbor Wang <nanbor@cs.wustl.edu> * orbsvcs/Notify_Service/Notify_Service.dsp diff --git a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp index 7a48201d280..4ff56ef7658 100644 --- a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp +++ b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp @@ -363,9 +363,9 @@ set_rt_mode (void) "test runs in time-shared class\n")); } else - ACE_ERROR_RETURN ((LM_ERROR, - "client (%P|%t): sched_params failed\n"), - 1); + ACE_ERROR ((LM_ERROR, + "client (%P|%t): sched_params failed %p\n", + "set_rt_mode")); } // Get our thread handle. @@ -374,9 +374,9 @@ set_rt_mode (void) // Set our thread priority. if (ACE_OS::thr_setprio (self, priority) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "server (%P|%t):thr_setprio failed\n"), - 1); + ACE_ERROR ((LM_ERROR, + "server (%P|%t):thr_setprio failed %p\n", + "set_rt_mode")); // Do a sanity check. if (ACE_OS::thr_getprio (self, priority) == 0) diff --git a/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp b/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp index cc9c38d324b..ed8013a7a6f 100644 --- a/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp +++ b/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp @@ -58,9 +58,9 @@ set_rt_mode (void) "test runs in time-shared class\n")); } else - ACE_ERROR_RETURN ((LM_ERROR, - "client (%P|%t): sched_params failed\n"), - 1); + ACE_ERROR ((LM_ERROR, + "client (%P|%t): sched_params failed %p\n", + "set_rt_mode")); } // Get our thread handle. @@ -69,10 +69,10 @@ set_rt_mode (void) // Set our thread priority. if (ACE_OS::thr_setprio (self, priority) != 0) - ACE_ERROR_RETURN ((LM_ERROR, - "server (%P|%t):thr_setprio failed\n"), - 1); - + ACE_ERROR ((LM_ERROR, + "server (%P|%t):thr_setprio failed %p\n", + "set_rt_mode")); + // Do a sanity check. if (ACE_OS::thr_getprio (self, priority) == 0) ACE_DEBUG ((LM_DEBUG, |