Searched refs:InnerTimer (Results 1 – 2 of 2) sorted by relevance
54 pub struct Timer(SpinLock<InnerTimer>);65 let result: Arc<Timer> = Arc::new(Timer(SpinLock::new(InnerTimer { in new()114 pub struct InnerTimer { struct
9   定时器类型为`Timer`结构体,而`Timer`由`SpinLock<InnerTimer>`组成。全局中使用元素类型为`Arc<Timer>`的队列`TIMER_LIST…