]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix a typo in comment of netpollblock()
authorAndy Pan <panjf2000@gmail.com>
Fri, 19 Aug 2022 17:36:14 +0000 (01:36 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 19 Aug 2022 18:39:56 +0000 (18:39 +0000)
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>

src/runtime/netpoll.go

index 833d793d88a0c06156a85af1fac85069b53d52a0..31473fea80047bbc5b1c4508b7b113dcf17525b5 100644 (file)
@@ -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.