Commit 77b4c8d9 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

runtime: fix comment

Fixes #14259

Change-Id: I23fedec0eb85ae28e56bc24539bc864674856130
Reviewed-on: https://go-review.googlesource.com/19318Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 33a9a98e
...@@ -16,7 +16,7 @@ type timer struct { ...@@ -16,7 +16,7 @@ type timer struct {
i int // heap index i int // heap index
// Timer wakes up at when, and then at when+period, ... (period > 0 only) // Timer wakes up at when, and then at when+period, ... (period > 0 only)
// each time calling f(now, arg) in the timer goroutine, so f must be // each time calling f(arg, now) in the timer goroutine, so f must be
// a well-behaved function and not block. // a well-behaved function and not block.
when int64 when int64
period int64 period int64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment