Home
last modified time | relevance | path

Searched refs:TimerManager (Results 1 – 5 of 5) sorted by relevance

/DragonReach/src/manager/timer_manager/
H A Dmod.rs13 static ref TIMER_TASK_MANAGER:RwLock<TimerManager> = RwLock::new(TimerManager {
21 pub struct TimerManager { struct
27 impl<'a> IntoIterator for &'a mut TimerManager { argument
37 impl TimerManager { impl
92 TimerManager::update_next_trigger(id, true); //更新触发时间 in check_timer()
101 TimerManager::remove_timer_unit(id); in check_timer()
/DragonReach/src/manager/
H A Dmod.rs9 use self::timer_manager::TimerManager;
49 TimerManager::cancel_timer(tmp.0); in check_running_status()
57 TimerManager::update_next_trigger(tmp.0, false); //更新所有归属于此unit的计时器 in check_running_status()
/DragonReach/src/
H A Dmain.rs12 use manager::{timer_manager::TimerManager, Manager};
64 TimerManager::check_timer(); in main()
/DragonReach/src/executor/service_executor/
H A Dmod.rs8 manager::{timer_manager::TimerManager, UnitManager},
168 TimerManager::cancel_timer(service.unit_id()); in after_exit()
199 TimerManager::push_timer( in restart()
234 TimerManager::push_timer( in exit()
/DragonReach/src/unit/timer/
H A Dmod.rs5 use crate::manager::timer_manager::TimerManager;
158 TimerManager::update_next_trigger(id, true); in run()
202 TimerManager::push_timer_unit(unit); in _init()