When a new timer with a timer interval, such as ti (time interval), is to be added to this wheel, the slot for the new timer, ts (timer slot), is calculated, as follows.
在将具有某个计时间隔的新的计时器,如ti(时间间隔),添加到这个计时器轮时,将计算出这个新计时器的槽位ts(计时器槽位),具体如下所示。
When a new timer with a timer interval, such as ti (time interval), is to be added to this wheel, the slot for the new timer, ts (timer slot), is calculated, as follows.
在将具有某个计时间隔的新的计时器,如ti(时间间隔),添加到这个计时器轮时,将计算出这个新计时器的槽位ts(计时器槽位),具体如下所示。
应用推荐