diff options
Diffstat (limited to 'libgo/go/time/tick.go')
-rw-r--r-- | libgo/go/time/tick.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/time/tick.go b/libgo/go/time/tick.go index 3d69320..e4cd43a 100644 --- a/libgo/go/time/tick.go +++ b/libgo/go/time/tick.go @@ -40,8 +40,8 @@ func NewTicker(d Duration) *Ticker { } // Stop turns off a ticker. After Stop, no more ticks will be sent. -// Stop does not close the channel, to prevent a read from the channel succeeding -// incorrectly. +// Stop does not close the channel, to prevent a concurrent goroutine +// reading from the channel from seeing an erroneous "tick". func (t *Ticker) Stop() { stopTimer(&t.r) } |