MCPcopy Create free account
hub / github.com/Cyinx/einx / DeleteTimer

Method DeleteTimer

timer/timer_manager.go:84–89  ·  view source on GitHub ↗
(timerID uint64)

Source from the content-addressed store, hash-verified

82}
83
84func (this *TimerManager) DeleteTimer(timerID uint64) bool {
85 if timerID == 0 {
86 return false
87 }
88 return this.timer_wheels[4].delete_timer(timerID>>24, uint32(timerID&0xffffff))
89}
90
91func (this *TimerManager) Execute(count uint32) int {
92 now := UnixTS()

Callers 2

RemoveTimerMethod · 0.80
handle_eventMethod · 0.80

Calls 1

delete_timerMethod · 0.45

Tested by

no test coverage detected