summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator/Misc/main.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-01 08:00:34 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-01 08:00:34 +0000
commitd9661aebab28abc0ec4fb1e716170d347d56c168 (patch)
treeecb671ab4b8e299bf5cbb8b2dfeed8a49b65fc06 /examples/Service_Configurator/Misc/main.cpp
parentea0d28240863caf437a18071bfd03e7b146c5ade (diff)
downloadATCD-unlabeled-4.3.2.tar.gz
This commit was manufactured by cvs2svn to create branchunlabeled-4.3.2
'unlabeled-4.3.2'.
Diffstat (limited to 'examples/Service_Configurator/Misc/main.cpp')
-rw-r--r--examples/Service_Configurator/Misc/main.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/Service_Configurator/Misc/main.cpp b/examples/Service_Configurator/Misc/main.cpp
deleted file mode 100644
index 03957234a35..00000000000
--- a/examples/Service_Configurator/Misc/main.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "ace/Service_Config.h"
-// $Id$
-
-#include "Timer_Service.h"
-
-// Create an object that will insert the Timer_Service into the list
-// of statically linked services that the ACE_Service_Config will
-// process at run-time.
-ACE_STATIC_SVC_REQUIRE(Timer_Service)
-
-int
-main (int argc, char *argv[])
-{
- ACE_Service_Config daemon;
-
- if (daemon.open (argc, argv) == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), 1);
-
- // Run forever, performing the configured services until we receive
- // a SIGINT.
-
- daemon.run_reactor_event_loop ();
- return 0;
-}