1 #include "ace/Log_Msg.h"
2 #include "ace/Reactor.h"
3 #include "ace/Select_Reactor.h"
4 #include "ace/Service_Config.h"
5 #include "ace/Thread_Manager.h"
7 #include "jaws3/Event_Dispatcher.h"
8 #include "jaws3/Signal_Task.h"
11 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
13 ACE_REACTOR_INSTANCE_INIT
;
15 JAWS_Signal_Task::instance ();
17 if (ACE_Service_Config::open (argc
, argv
) == -1
19 ACE_ERROR_RETURN ((LM_ERROR
,
24 // Run forever, performing the configured services until we
27 JAWS_Event_Dispatcher::run_event_loop ();
29 ACE_Thread_Manager::instance ()->wait ();