blob: ef0922188b6e623623ec23b713c12d2b9f726f5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Listing 1 code/ch19
#include "ace/OS_main.h"
#include "ace/Service_Config.h"
#include "ace/Reactor.h"
int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_Service_Config::open (argc, argv);
// We use this version of the event loop so that reconfigurations
// are triggered properly.
ACE_Reactor::instance ()->run_reactor_event_loop (ACE_Reactor::check_reconfiguration);
return 0;
}
// Listing 1
|