summaryrefslogtreecommitdiff
path: root/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-20 14:09:17 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-20 14:09:17 +0000
commit1cf6cf238100821539b01b3b0f41983f41a6114b (patch)
tree7e85ab4fbb9660e5bd6c875a1e1f9eb868b90447 /TAO/tests/RTCORBA/Profile_And_Endpoint_Selection
parent0591e3aa2a124972f61e91dbf79e7016a492c9b1 (diff)
downloadATCD-1cf6cf238100821539b01b3b0f41983f41a6114b.tar.gz
ChangeLogTag: Sat Jul 20 09:08:17 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tests/RTCORBA/Profile_And_Endpoint_Selection')
-rw-r--r--TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp
index 9d66f688430..85bc57cf0cd 100644
--- a/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp
+++ b/TAO/tests/RTCORBA/Profile_And_Endpoint_Selection/client.cpp
@@ -268,18 +268,20 @@ Client::priority_invocations (int debug
Worker_Thread **workers = 0;
- ACE_NEW (workers,
- Worker_Thread *[priorities.size ()]);
+ ACE_NEW_THROW_EX (workers,
+ Worker_Thread *[priorities.size ()],
+ CORBA::NO_MEMORY ());
for (i = 0;
i < priorities.size ();
++i)
{
- ACE_NEW (workers[i],
- Worker_Thread (*this,
- this->test_.in (),
- this->current_.in (),
- priorities[i]));
+ ACE_NEW_THROW_EX (workers[i],
+ Worker_Thread (*this,
+ this->test_.in (),
+ this->current_.in (),
+ priorities[i]),
+ CORBA::NO_MEMORY ());
long flags =
THR_NEW_LWP |