Searched refs:activate (Results 1 – 4 of 4) sorted by relevance
9 …为定时器的结束时间,`timer_func`参数的类型是实现了`TimerFunction`特性的结构体。在创建定时器后,应使用`Timer::activate()`将定时器插入到`TIMER_L…48 pub fn activate(&self)167 timer.activate();
24 timer.activate(); in run()33 timer.activate(); in net_init()
52 timer.activate(); in nano_sleep()
77 pub fn activate(&self) { in activate() method235 timer.activate(); in schedule_timeout()