hunt ~master (2022-04-01T03:44:56Z)
Home
Dub
Repo
TimingWheel.addNewTimer
hunt
event
timer
Common
TimingWheel
add a Timer into the Wheel
class
TimingWheel
pragma(
inline
)
void
addNewTimer
(
WheelTimer
tm
,
size_t
wheel
= 0
)
Parameters
tm
WheelTimer
the timer.
wheel
size_t
the wheel.
Meta
Source
See Implementation
hunt
event
timer
Common
TimingWheel
constructors
this
functions
addNewTimer
doNext
getPrev
nextWheel
prevWheel
remove
rest
add a Timer into the Wheel