summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling/POA_Holder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTScheduling/POA_Holder.cpp')
-rw-r--r--TAO/examples/RTScheduling/POA_Holder.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/TAO/examples/RTScheduling/POA_Holder.cpp b/TAO/examples/RTScheduling/POA_Holder.cpp
index 605979bb28f..221e7606b1f 100644
--- a/TAO/examples/RTScheduling/POA_Holder.cpp
+++ b/TAO/examples/RTScheduling/POA_Holder.cpp
@@ -157,7 +157,6 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_
rt_orb->create_priority_model_policy (priority_model_,
server_priority_
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
if (lanes_.length () != 0)
{
@@ -177,13 +176,11 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_
max_buffered_requests,
max_request_buffer_size
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
// Create a thread-pool policy.
lanes_policy =
rt_orb->create_threadpool_policy (threadpool_id
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
ACE_DEBUG ((LM_DEBUG,
"Activated Lanes\n"));
@@ -206,12 +203,10 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_
max_buffered_requests,
max_request_buffer_size
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
thread_pool_policy = rt_orb->create_threadpool_policy (threadpool_id_1
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
ACE_DEBUG ((LM_DEBUG,
"Activated thread pool\n"));
@@ -225,7 +220,6 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_
bands_policy =
rt_orb->create_priority_banded_connection_policy (this->bands_
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
ACE_DEBUG ((LM_DEBUG,
"Activated Bands\n"));
@@ -306,12 +300,10 @@ POA_Holder::activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_
// Get the POA Manager.
PortableServer::POAManager_var poa_manager =
- parent_poa->the_POAManager (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
+ parent_poa->the_POAManager ();
parent_poa->create_POA (POA_name_.c_str (),
poa_manager.in (),
poa_policy_list
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
}