4 #include "MIF_Scheduler.h"
5 #include "MIF_DT_Creator.h"
7 #include "ace/Sched_Params.h"
8 #include "tao/ORB_Core.h"
14 class DT_Test
//:public ACE_Task <ACE_SYNCH>
20 int init (int argc
, ACE_TCHAR
*argv
[]);
22 void run (int argc
, ACE_TCHAR
*argv
[]);
24 void dt_creator (MIF_DT_Creator
* dt_creator
);
26 MIF_Scheduler
* scheduler (void);
28 int activate_task (void);
33 /* virtual int svc (void); */
38 long thr_sched_policy_
;
39 long thr_scope_policy_
;
40 ACE_Sched_Params::Policy sched_policy_
;
44 RTScheduling::Current_var current_
;
45 MIF_DT_Creator
* dt_creator_
;
46 PortableServer::Servant_var
<MIF_Scheduler
> scheduler_
;
49 typedef ACE_Singleton
<DT_Test
, TAO_SYNCH_MUTEX
> DT_TEST
;