summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-15 03:43:09 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-15 03:43:09 +0000
commitc53a7e71059689a5f1b67d2deabafe6d5aec93da (patch)
tree41da0d34188b571557f32c5fbea4f080f83a4e55
parent8b852ffc1bdca3ad129ad0beeb93028fa695e590 (diff)
downloadATCD-c53a7e71059689a5f1b67d2deabafe6d5aec93da.tar.gz
*** empty log message ***
-rw-r--r--examples/Service_Configurator/Misc/README3
-rw-r--r--examples/Service_Configurator/Misc/main.cpp22
2 files changed, 23 insertions, 2 deletions
diff --git a/examples/Service_Configurator/Misc/README b/examples/Service_Configurator/Misc/README
new file mode 100644
index 00000000000..2a31daa36f2
--- /dev/null
+++ b/examples/Service_Configurator/Misc/README
@@ -0,0 +1,3 @@
+This directory contains an example that illustrates how the ACE
+Service Configurator can configure static and dynamic services, both
+from the command-line and from a svc.config file.
diff --git a/examples/Service_Configurator/Misc/main.cpp b/examples/Service_Configurator/Misc/main.cpp
index 8f440e81727..c1c4d10d118 100644
--- a/examples/Service_Configurator/Misc/main.cpp
+++ b/examples/Service_Configurator/Misc/main.cpp
@@ -1,5 +1,23 @@
// $Id$
+// ============================================================================
+//
+// = LIBRARY
+// examples/Service_Configurator/Misc
+//
+// = FILENAME
+// main.cpp
+//
+// = DESCRIPTION
+// This directory contains an example that illustrates how the ACE
+// Service Configurator can configure static and dynamic services,
+// both from the command-line and from a svc.config file.
+//
+// = AUTHOR
+// Doug Schmidt <schmidt@cs.wustl.edu>
+//
+// ============================================================================
+
#include "ace/Service_Config.h"
#include "Timer_Service.h"
@@ -29,8 +47,8 @@ main (int argc, char *argv[])
"open"),
1);
- // Run forever, performing the configured services until we receive
- // a SIGINT.
+ // Run forever, performing the configured services until we
+ // shutdown.
ACE_Reactor::run_event_loop ();
return 0;