Skip to content

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

@ggaaooppeenngg

Description

@ggaaooppeenngg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions