diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 19:49:37 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 19:49:37 +0000 |
commit | 2de4c39e6d8113008456508306dc62d20b3ecc2d (patch) | |
tree | 8c8fe4ace70f094ec529a7c1fff24d56d5d8cea2 /netsvcs/servers | |
parent | b4fe550f92a509a574f38ff54d0ba04e85548972 (diff) | |
download | ATCD-2de4c39e6d8113008456508306dc62d20b3ecc2d.tar.gz |
*** empty log message ***
Diffstat (limited to 'netsvcs/servers')
-rw-r--r-- | netsvcs/servers/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netsvcs/servers/main.cpp b/netsvcs/servers/main.cpp index 1052dd2d0aa..237bb0b5f29 100644 --- a/netsvcs/servers/main.cpp +++ b/netsvcs/servers/main.cpp @@ -30,7 +30,7 @@ main (int argc, char *argv[]) ACE_Service_Config daemon; // 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); ACE_Sig_Set sig_set; sig_set.sig_add (SIGINT); @@ -39,10 +39,10 @@ main (int argc, char *argv[]) // Register ourselves to receive SIGINT and SIGQUIT so we can shut // down gracefully via signals. #if !defined (ACE_WIN32) - if (ACE_Service_Config::reactor ()->register_handler (sig_set, &sa) == -1) + if (ACE_Reactor::instance ()->register_handler (sig_set, &sa) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p\n"), -1); #else - if (ACE_Service_Config::reactor ()->register_handler (SIGINT, &sa) == -1) + if (ACE_Reactor::instance ()->register_handler (SIGINT, &sa) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p\n"), -1); #endif /* ACE_WIN32 */ @@ -102,7 +102,7 @@ main (int argc, char *argv[]) // 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 (); // Destructors of Service_Ptr's automagically call fini(). } @@ -111,7 +111,7 @@ main (int argc, char *argv[]) // 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; } |