mirror of
https://github.com/golang/go
synced 2024-09-29 13:24:28 -06:00
runtime: fix a typo in comment of netpollblock()
Change-Id: Ia00acf248f3498d75e2451548f82d3c57cfed06f Reviewed-on: https://go-review.googlesource.com/c/go/+/424995 Run-TryBot: Michael Pratt <mpratt@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
a73808e1e0
commit
bf4e35b658
@ -492,7 +492,7 @@ func netpollgoready(gp *g, traceskip int) {
|
||||
goready(gp, traceskip+1)
|
||||
}
|
||||
|
||||
// returns true if IO is ready, or false if timedout or closed
|
||||
// returns true if IO is ready, or false if timed out or closed
|
||||
// waitio - wait only for completed IO, ignore errors
|
||||
// Concurrent calls to netpollblock in the same mode are forbidden, as pollDesc
|
||||
// can hold only a single waiting goroutine for each mode.
|
||||
|
Loading…
Reference in New Issue
Block a user