summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs
diff options
context:
space:
mode:
authorjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-03-24 02:03:55 +0000
committerjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-03-24 02:03:55 +0000
commitd68fa796a3d5757027ec92555843c2c9a2c91fc5 (patch)
treef1a1e4fbbf2843fee3e6f4d210696a4c85d4d905 /TAO/orbsvcs
parent54333c28bd48bb9a9023fc41233ffcb7af924bbb (diff)
downloadATCD-d68fa796a3d5757027ec92555843c2c9a2c91fc5.tar.gz
ChangeLogTag: Fri Mar 24 01:58:02 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r--TAO/orbsvcs/Notify_Service/Notify_Service.cpp8
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Driver.cpp11
2 files changed, 18 insertions, 1 deletions
diff --git a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp
index e9e7fde3c1a..e7d95c4dd99 100644
--- a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp
+++ b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp
@@ -411,6 +411,13 @@ Worker::orb (CORBA::ORB_ptr orb)
int
Worker::svc (void)
{
+#if 0
+ // ACE_Thread::getprio() fails on systems that do not support thread
+ // priorities. While we could just treat the failure as benign, I'm
+ // just disabling it altogether. It doesn't provide much value, and
+ // makes service startup needlessly more verbose. See bugzilla 2477
+ // for details.
+
ACE_hthread_t current;
ACE_Thread::self (current);
@@ -422,6 +429,7 @@ Worker::svc (void)
}
ACE_DEBUG ((LM_DEBUG, "Activated Worker Thread to run the ORB @ priority:%d \n", priority));
+#endif
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
diff --git a/TAO/orbsvcs/tests/Notify/lib/Driver.cpp b/TAO/orbsvcs/tests/Notify/lib/Driver.cpp
index 6c4c0036b4f..8985aa6f772 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Driver.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Driver.cpp
@@ -76,6 +76,7 @@ TAO_Notify_Tests_Worker::command_builder (TAO_Notify_Tests_Command_Builder* cmd_
int
TAO_Notify_Tests_Worker::svc (void)
{
+#if 0
ACE_hthread_t current;
ACE_Thread::self (current);
@@ -87,6 +88,7 @@ TAO_Notify_Tests_Worker::svc (void)
}
ACE_DEBUG ((LM_ERROR, "Activated Worker Thread for commands @ priority:%d \n", priority));
+#endif
ACE_DECLARE_NEW_CORBA_ENV;
@@ -129,6 +131,13 @@ TAO_Notify_Tests_ORB_Run_Worker::run_period (ACE_Time_Value run_period)
int
TAO_Notify_Tests_ORB_Run_Worker::svc (void)
{
+#if 0
+ // ACE_Thread::getprio() fails on systems that do not support thread
+ // priorities. While we could just treat the failure as benign, I'm
+ // just disabling it altogether. It doesn't provide much value, and
+ // makes service startup needlessly more verbose. See bugzilla 2477
+ // for details.
+
ACE_hthread_t current;
ACE_Thread::self (current);
@@ -139,8 +148,8 @@ TAO_Notify_Tests_ORB_Run_Worker::svc (void)
return -1;
}
-
ACE_DEBUG ((LM_ERROR, "Activated ORB Run Worker Thread to run the ORB @ priority:%d \n", priority));
+#endif
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY