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>
19 int init (int argc
, ACE_TCHAR
*argv
[]);
21 void run (int argc
, ACE_TCHAR
*argv
[]);
23 void dt_creator (MIF_DT_Creator
* dt_creator
);
25 MIF_Scheduler
* scheduler ();
32 /* virtual int svc (); */
37 long thr_sched_policy_
;
38 long thr_scope_policy_
;
39 ACE_Sched_Params::Policy sched_policy_
;
43 RTScheduling::Current_var current_
;
44 MIF_DT_Creator
* dt_creator_
;
45 PortableServer::Servant_var
<MIF_Scheduler
> scheduler_
;
48 typedef ACE_Singleton
<DT_Test
, TAO_SYNCH_MUTEX
> DT_TEST
;