diff options
Diffstat (limited to 'TAO/tests/RTCORBA/Linear_Priority/readers.cpp')
-rw-r--r-- | TAO/tests/RTCORBA/Linear_Priority/readers.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/TAO/tests/RTCORBA/Linear_Priority/readers.cpp b/TAO/tests/RTCORBA/Linear_Priority/readers.cpp index f596ac6908e..c5f1b31b73f 100644 --- a/TAO/tests/RTCORBA/Linear_Priority/readers.cpp +++ b/TAO/tests/RTCORBA/Linear_Priority/readers.cpp @@ -9,8 +9,8 @@ int get_priority_bands (const char *test_type, const char *bands_file, RTCORBA::RTORB_ptr rt_orb, - CORBA::PolicyList &policies, - CORBA::Environment &ACE_TRY_ENV) + CORBA::PolicyList &policies + TAO_ENV_ARG_DECL) { // // Read bands from a file. @@ -89,8 +89,8 @@ get_priority_bands (const char *test_type, "\n\n")); CORBA::Policy_var banded_connection_policy = - rt_orb->create_priority_banded_connection_policy (bands, - ACE_TRY_ENV); + rt_orb->create_priority_banded_connection_policy (bands + TAO_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); policies.length (policies.length () + 1); @@ -187,8 +187,8 @@ get_priority_lanes (const char *test_type, CORBA::ULong max_buffered_requests, CORBA::ULong max_request_buffer_size, CORBA::Boolean allow_borrowing, - CORBA::PolicyList &policies, - CORBA::Environment &ACE_TRY_ENV) + CORBA::PolicyList &policies + TAO_ENV_ARG_DECL) { Short_Array priorities; int result = @@ -218,13 +218,13 @@ get_priority_lanes (const char *test_type, allow_borrowing, allow_request_buffering, max_buffered_requests, - max_request_buffer_size, - ACE_TRY_ENV); + max_request_buffer_size + TAO_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); CORBA::Policy_var threadpool_policy = - rt_orb->create_threadpool_policy (threadpool_id, - ACE_TRY_ENV); + rt_orb->create_threadpool_policy (threadpool_id + TAO_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); policies.length (policies.length () + 1); @@ -244,8 +244,8 @@ get_auto_priority_lanes_and_bands (CORBA::ULong number_of_lanes, CORBA::ULong max_buffered_requests, CORBA::ULong max_request_buffer_size, CORBA::Boolean allow_borrowing, - CORBA::PolicyList &policies, - CORBA::Environment &ACE_TRY_ENV) + CORBA::PolicyList &policies + TAO_ENV_ARG_DECL) { RTCORBA::ThreadpoolLanes lanes; lanes.length (number_of_lanes); @@ -299,20 +299,20 @@ get_auto_priority_lanes_and_bands (CORBA::ULong number_of_lanes, allow_borrowing, allow_request_buffering, max_buffered_requests, - max_request_buffer_size, - ACE_TRY_ENV); + max_request_buffer_size + TAO_ENV_ARG_PARAMETER); ACE_CHECK; policies.length (policies.length () + 1); policies[policies.length () - 1] = - rt_orb->create_priority_banded_connection_policy (bands, - ACE_TRY_ENV); + rt_orb->create_priority_banded_connection_policy (bands + TAO_ENV_ARG_PARAMETER); ACE_CHECK; policies.length (policies.length () + 1); policies[policies.length () - 1] = - rt_orb->create_threadpool_policy (threadpool_id, - ACE_TRY_ENV); + rt_orb->create_threadpool_policy (threadpool_id + TAO_ENV_ARG_PARAMETER); ACE_CHECK; } |