summaryrefslogtreecommitdiff
path: root/TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-22 05:01:05 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-22 05:01:05 +0000
commit57a0a4b03fa245984080853ca6e2068def69110b (patch)
tree8714c4b1e77a3f698066de6f3cb6af450936deac /TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp
parent7e7c44709428abda719623787466c98db2fc3fe6 (diff)
downloadATCD-57a0a4b03fa245984080853ca6e2068def69110b.tar.gz
This commit was manufactured by cvs2svn to create tag 'ACE-4_5_15'.ACE-4_5_15
Diffstat (limited to 'TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp')
-rw-r--r--TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp48
1 files changed, 0 insertions, 48 deletions
diff --git a/TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp b/TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp
deleted file mode 100644
index ac107f69ec4..00000000000
--- a/TAO/IIOP/tests/Cubit/Orbix/tpool/server.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-
-//**************************************************************************
-//
-// NAME : tpr_server.cpp
-// DESCRIPTION:
-//
-// Server mainline
-//
-//****************************************************************************
-#define IT_EX_MACROS
-
-#include "cubit_impl.h" // server header file
-#include "tpool.h"
-
-int
-main (int argc, char** argv)
-{
-
-
-#ifdef Cubit_USE_BOA
- Cubit_var cb = new Cubit_Impl;
- cout << "Using BOA approach" << endl;
-#else
- Cubit_var cb = new TIE_Cubit (Cubit_Impl) (new Cubit_Impl);
- cout << "Using TIE approach" << endl;
-#endif /* Cubit_USE_BOA */
-
- // Register our thread-pool dispatcher
- int n_threads = argc > 1 ? ACE_OS::atoi (argv[1]) : ACE_DEFAULT_THREADS;
- Thread_Pool tpool_dispatcher (n_threads);
-
- //
- // Go get some work to do....
- //
- IT_TRY {
- CORBA::Orbix.impl_is_ready("Cubit", IT_X);
- }
- IT_CATCHANY {
- cout << IT_X << endl;
- }
- IT_ENDTRY;
-
- cout << "Cubit server is exiting." << endl;
-
-
- return 0;
-}