Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: typo in comment about timer type's fields #14259

Closed
ggaaooppeenngg opened this issue Feb 8, 2016 · 1 comment
Closed

runtime: typo in comment about timer type's fields #14259

ggaaooppeenngg opened this issue Feb 8, 2016 · 1 comment

Comments

@ggaaooppeenngg
Copy link
Contributor

https://github.com/golang/go/blob/master/src/runtime/time.go#L19
In this line should
// each time calling f(now, arg) in the timer goroutine, so f must be
be replace with // each time calling f(arg, now) in the timer goroutine, so f must be, it seems seq is the timestamp of the timer, and it is passed as now in f.

@bradfitz bradfitz self-assigned this Feb 8, 2016
@bradfitz bradfitz added this to the Unplanned milestone Feb 8, 2016
@bradfitz bradfitz changed the title possible a miss typing? runtime: typo in comment about timer type's fields Feb 8, 2016
@gopherbot
Copy link

CL https://golang.org/cl/19318 mentions this issue.

@golang golang locked and limited conversation to collaborators Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants