Commit 36d9ee4a authored by Rob Pike's avatar Rob Pike

os: fix grammar in ProcessState comment

Asymptotic convergence.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5719045
parent 30db6d41
...@@ -101,7 +101,7 @@ func findProcess(pid int) (p *Process, err error) { ...@@ -101,7 +101,7 @@ func findProcess(pid int) (p *Process, err error) {
return newProcess(pid, 0), nil return newProcess(pid, 0), nil
} }
// ProcessState stores information about process as reported by Wait. // ProcessState stores information about a process, as reported by Wait.
type ProcessState struct { type ProcessState struct {
pid int // The process's id. pid int // The process's id.
status *syscall.Waitmsg // System-dependent status info. status *syscall.Waitmsg // System-dependent status info.
......
...@@ -44,7 +44,7 @@ func (p *Process) kill() error { ...@@ -44,7 +44,7 @@ func (p *Process) kill() error {
return p.Signal(Kill) return p.Signal(Kill)
} }
// ProcessState stores information about process as reported by Wait. // ProcessState stores information about a process, as reported by Wait.
type ProcessState struct { type ProcessState struct {
pid int // The process's id. pid int // The process's id.
status syscall.WaitStatus // System-dependent status info. status syscall.WaitStatus // System-dependent status info.
......
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