diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-30 06:50:29 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-30 06:50:29 +0000 |
commit | a4a7690c336d4c8a16b3041c86d501ba38226e96 (patch) | |
tree | 9e9f93a98edd2591453f092d178ad29a1c5fb519 /examples/Service_Configurator/IPC-tests/server/server_test.cpp | |
parent | a5c4d8047ab58df5c45092e18ae503ad40518f0e (diff) | |
download | ATCD-unlabeled-4.1.2.tar.gz |
This commit was manufactured by cvs2svn to create branchunlabeled-4.1.2
'unlabeled-4.1.2'.
Diffstat (limited to 'examples/Service_Configurator/IPC-tests/server/server_test.cpp')
-rw-r--r-- | examples/Service_Configurator/IPC-tests/server/server_test.cpp | 28 |
1 files changed, 0 insertions, 28 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 8e375021959..00000000000 --- a/examples/Service_Configurator/IPC-tests/server/server_test.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ - -// The main test driver for the dynamically configured server. - -#include "ace/Service_Config.h" - -int -main (int argc, char *argv[]) -{ - ACE_Service_Config server_test; - - if (server_test.open (argc, argv) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "server_test.open"), -1); - - // Create an adapter to end the event loop. - ACE_Sig_Adapter sa ((ACE_Sig_Handler_Ex) ACE_Service_Config::end_reactor_event_loop); - - // Register a signal handler. - ACE_Service_Config::reactor ()->register_handler (SIGINT, &sa); - - // Run forever, performing the configured services until we are shut - // down by a SIGINT/SIGQUIT signal. - - while (server_test.reactor_event_loop_done () == 0) - server_test.run_reactor_event_loop (); - - return 0; -} |