diff options
Diffstat (limited to 'examples/Service_Configurator/IPC-tests/server/server_test.cpp')
-rw-r--r-- | examples/Service_Configurator/IPC-tests/server/server_test.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/examples/Service_Configurator/IPC-tests/server/server_test.cpp b/examples/Service_Configurator/IPC-tests/server/server_test.cpp deleted file mode 100644 index f65523d956d..00000000000 --- a/examples/Service_Configurator/IPC-tests/server/server_test.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* The main test driver for the dynamically configured server. */ -// $Id$ - - -#include "ace/Service_Config.h" - -sig_atomic_t finished = 0; - -static void -handler (int) -{ - finished = 1; -} - -int -main (int argc, char *argv[]) -{ - ACE_Service_Config server_test; - - ACE_Sig_Action sig ((ACE_SignalHandler) handler, SIGINT); - - if (server_test.open (argc, argv) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "server_test.open"), -1); - - for (;;) - if (server_test.run_reactor_event_loop () == -1 && finished) - break; - - /* NOTREACHED */ - return 0; -} |