summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-13 21:09:43 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-11-13 21:09:43 +0000
commitb2debb1b24c871f4f0e8d627624a86881aa3f7ae (patch)
treef902122b67175838fdfe6f289d606a6bee7cdb87
parent35886df1878b16d5af04d8d7da96ea2847fc99a0 (diff)
downloadATCD-b2debb1b24c871f4f0e8d627624a86881aa3f7ae.tar.gz
(svc): on VxWorks, kill own task when done, to avoid
memPartFree during ORB cleanup
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp
index 31a27635637..9650253bab6 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp
@@ -753,6 +753,13 @@ Client::svc (void)
// Delete dynamic memory
CORBA::release (this->cubit_);
+
+#if defined (VXWORKS)
+ // To avoid a memPartFree on VxWorks. It will leak memory, though.
+ int status;
+ ACE_OS::thr_exit (&status);
+#endif /* VXWORKS */
+
return 0;
}