diff options
author | Andy Pan <panjf2000@gmail.com> | 2022-08-20 01:36:14 +0800 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-08-19 18:39:56 +0000 |
commit | bf4e35b658e61c29112c456f47615c16345c3518 (patch) | |
tree | a2fb34b235f7d74ca8c3827a18df6bb46dcfb0df /src/runtime/netpoll.go | |
parent | a73808e1e06dfca15a51743ced1fab038b5a2392 (diff) | |
download | go-bf4e35b658e61c29112c456f47615c16345c3518.tar.gz go-bf4e35b658e61c29112c456f47615c16345c3518.zip |
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>
Diffstat (limited to 'src/runtime/netpoll.go')
-rw-r--r-- | src/runtime/netpoll.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/netpoll.go b/src/runtime/netpoll.go index 833d793d88..31473fea80 100644 --- a/src/runtime/netpoll.go +++ b/src/runtime/netpoll.go @@ -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. |