From bf4e35b658e61c29112c456f47615c16345c3518 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Sat, 20 Aug 2022 01:36:14 +0800 Subject: [PATCH] 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 --- src/runtime/netpoll.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/netpoll.go b/src/runtime/netpoll.go index 833d793d88a..31473fea800 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.