Lines Matching refs:scheduler
38 let scheduler = Scheduler::new(
45 assert!(scheduler.is_ok(), "Create scheduler error: {:?}", scheduler);
47 let mut scheduler = scheduler.unwrap();
49 let entity = scheduler.add_task(config_file, task);
79 let scheduler = Scheduler::new(
86 assert!(scheduler.is_ok(), "Create scheduler error: {:?}", scheduler);
88 let mut scheduler = scheduler.unwrap();
90 let entity = scheduler.add_task(config_file, task);
116 let scheduler = Scheduler::new(
123 assert!(scheduler.is_ok(), "Create scheduler error: {:?}", scheduler);
125 let mut scheduler = scheduler.unwrap();
127 let entity = scheduler.add_task(config_file, task);
149 let scheduler = Scheduler::new(
156 assert!(scheduler.is_ok(), "Create scheduler error: {:?}", scheduler);
158 let mut scheduler = scheduler.unwrap();
160 let entity = scheduler.add_task(config_file, task);