diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 18:54:39 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 18:54:39 +0000 |
commit | 15bc210e1a411ac93b0d2a41e0b898ba16583e05 (patch) | |
tree | e08bf39d3f5e4db1b282454d79a053355330fa0d /ace/Service_Main.cpp | |
parent | b5adfd4ffd24551632be96077fe9f519e10bfff7 (diff) | |
download | ATCD-15bc210e1a411ac93b0d2a41e0b898ba16583e05.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Service_Main.cpp')
-rw-r--r-- | ace/Service_Main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/Service_Main.cpp b/ace/Service_Main.cpp index 14e8fdbcd0b..cddca791ed1 100644 --- a/ace/Service_Main.cpp +++ b/ace/Service_Main.cpp @@ -7,6 +7,7 @@ #define ACE_BUILD_DLL #include "ace/Service_Config.h" +#include "ace/Reactor.h" int sc_main (int argc, char *argv[]) @@ -18,15 +19,15 @@ sc_main (int argc, char *argv[]) ACE_ERROR ((LM_ERROR, "%p\n%a", "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); + ACE_Sig_Adapter sa ((ACE_Sig_Handler_Ex) ACE_Reactor::end_event_loop); // Register a signal handler. - ACE_Service_Config::reactor ()->register_handler (SIGINT, &sa); + ACE_Reactor::instance()->register_handler (SIGINT, &sa); // Run forever, performing the configured services until we are shut // down by a SIGINT/SIGQUIT signal. - daemon.run_reactor_event_loop (); + ACE_Reactor::run_event_loop (); return 0; } |