From: Andy Pan Date: Fri, 19 Aug 2022 17:36:14 +0000 (+0800) Subject: runtime: fix a typo in comment of netpollblock() X-Git-Tag: go1.20rc1~1504 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bf4e35b658e61c29112c456f47615c16345c3518;p=gostls13.git 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 Auto-Submit: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Michael Pratt TryBot-Result: Gopher Robot --- 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.