1
0
mirror of https://github.com/golang/go synced 2024-09-29 23:14:29 -06:00

style: more comment

This commit is contained in:
zero.xu 2020-04-24 00:41:47 +08:00
parent c8dea8198e
commit d11177ad24

View File

@ -403,7 +403,7 @@ func dodeltimer0(pp *p) {
}
// modtimer modifies an existing timer.
// This is called by the netpoll code or time.Ticker.Reset.
// This is called by the netpoll code or time.Ticker.Reset or time.Timer.Reset.
// Reports whether the timer was modified before it was run.
func modtimer(t *timer, when, period int64, f func(interface{}, uintptr), arg interface{}, seq uintptr) bool {
if when < 0 {