summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/Service_Manager.cpp10
-rw-r--r--ace/Service_Manager.h7
-rw-r--r--docs/ACE-tutorials.html6
3 files changed, 16 insertions, 7 deletions
diff --git a/ace/Service_Manager.cpp b/ace/Service_Manager.cpp
index f5a9bd7f74a..aad3d8edf67 100644
--- a/ace/Service_Manager.cpp
+++ b/ace/Service_Manager.cpp
@@ -213,10 +213,14 @@ ACE_Service_Manager::reconfigure_services (void)
#endif /* 0 */
// Flag the main event loop that a reconfiguration should occur.
- // The next trip through the ACE_Reactor::run_event_loop()
- // should pick this up and cause a reconfiguration!
+ // The next trip through the <ACE_Reactor::run_event_loop> should
+ // pick this up and cause a reconfiguration. Note that we can't
+ // trigger the reconfiguration automatically since that might "pull
+ // the rug" out from underneath the existing services in a
+ // problematic way.
ACE_Service_Config::reconfig_occurred ((sig_atomic_t) 1);
- return this->client_stream_.send_n ("done\n", sizeof ("done\n"));
+ return this->client_stream_.send_n ("done\n",
+ sizeof ("done\n"));
}
// Accept new connection from client and carry out the service they
diff --git a/ace/Service_Manager.h b/ace/Service_Manager.h
index cf75238b1c0..be40a485987 100644
--- a/ace/Service_Manager.h
+++ b/ace/Service_Manager.h
@@ -35,7 +35,12 @@ class ACE_Export ACE_Service_Manager : public ACE_Service_Object
// configured in an <ACE_Service_Repository>.
//
// = DESCRIPTION
- // This
+ // This implementation is very simple. It just handles each
+ // client request one at a time. Each request is associated
+ // with a new connection, which is closed when the request is
+ // processed. In addition, you must be using the singleton
+ // <ACE_Reactor::instance> in order to trigger reconfigurations.
+ // This scheme can certainly be improved.
public:
// = Initialization and termination hooks.
ACE_Service_Manager (void);
diff --git a/docs/ACE-tutorials.html b/docs/ACE-tutorials.html
index b79a573db25..b22e8ee4db1 100644
--- a/docs/ACE-tutorials.html
+++ b/docs/ACE-tutorials.html
@@ -21,14 +21,14 @@
<A HREF="http://www.cs.wustl.edu/~schmidt/PDF/ACE-tutorial.pdf.gz">ACE programmers guide</A>
<DT> <img alt="o" src="http://www.cs.wustl.edu/~schmidt/gifs/misc/redball.gif">
- <A HREF="tutorials">Introductory online tutorials</A>
+ <A HREF="http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/tutorials/">Introductory online tutorials</A>
<DT> <img alt="o" src="http://www.cs.wustl.edu/~schmidt/gifs/misc/redball.gif">
- <A HREF="tutorials/new-tutorials.html">Developing New Tutorials</A>
+ <A HREF="http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/tutorials/new-tutorials.html">Developing New Tutorials</A>
<!-- Bob's original can always be found at: http://dox.netwrench.com/acedox/fmm/ -->
<DT> <img alt="o" src="http://www.cs.wustl.edu/~schmidt/gifs/misc/redball.gif">
- <A HREF="ACE-FMM.html">Frequently Made Mistakes (FMM)</A>
+ <A HREF="http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-FMM.html">Frequently Made Mistakes (FMM)</A>
</DL>
</TD>