Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / APG / Svc_Config / HA_Configurable_Server_Dynamic.cpp
blobef0922188b6e623623ec23b713c12d2b9f726f5d
1 // Listing 1 code/ch19
2 #include "ace/OS_main.h"
3 #include "ace/Service_Config.h"
4 #include "ace/Reactor.h"
6 int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
8 ACE_Service_Config::open (argc, argv);
10 // We use this version of the event loop so that reconfigurations
11 // are triggered properly.
12 ACE_Reactor::instance ()->run_reactor_event_loop (ACE_Reactor::check_reconfiguration);
13 return 0;
15 // Listing 1