summaryrefslogtreecommitdiff
path: root/TAO/tests/Cubit/Orbix/tpool/server.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-14 05:47:01 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-14 05:47:01 +0000
commit1bda2ed944f06e6ef20d483549409070b9bae505 (patch)
tree4b5602aeaad1dab3e6b4db752f91311a9d8ad619 /TAO/tests/Cubit/Orbix/tpool/server.cpp
parentea56952b7880274cd4d3a4b84e39794b0521942c (diff)
downloadATCD-ACE-4_4_40.tar.gz
This commit was manufactured by cvs2svn to create tag 'ACE-4_4_40'.ACE-4_4_40
Diffstat (limited to 'TAO/tests/Cubit/Orbix/tpool/server.cpp')
-rw-r--r--TAO/tests/Cubit/Orbix/tpool/server.cpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/TAO/tests/Cubit/Orbix/tpool/server.cpp b/TAO/tests/Cubit/Orbix/tpool/server.cpp
deleted file mode 100644
index 8cae4135876..00000000000
--- a/TAO/tests/Cubit/Orbix/tpool/server.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
-//**************************************************************************
-//
-// 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;
-}