Skip to content

Commit ffc9f77

Browse files
authored
Update time_wheel.go
1 parent 958234d commit ffc9f77

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

time_wheel.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ func (t *timeWheel) moveAndExec() {
213213
}
214214
}
215215
}
216-
217-
// t.jiffies 只在run go程里面修改,所以不需要加atomic函数原子取
216+
218217
atomic.AddUint64(&t.jiffies, 1)
219218

220219
t.t1[index].Lock()

0 commit comments

Comments
 (0)