runtime: correct the system-call name of kevent in comment

Change-Id: Ib1f4a6f7e36d28eff39f597df5c4703bf62654a4
GitHub-Last-Rev: 15ea1b9fa8
GitHub-Pull-Request: golang/go#37994
Reviewed-on: https://go-review.googlesource.com/c/go/+/224590
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Andy Pan 2020-03-22 06:22:41 +00:00 committed by Ian Lance Taylor
parent 1250a324b4
commit 0c30245996
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ func netpollarm(pd *pollDesc, mode int) {
unlock(&mtxset)
}
// netpollBreak interrupts an epollwait.
// netpollBreak interrupts a poll.
func netpollBreak() {
netpollwakeup()
}

View File

@ -76,7 +76,7 @@ func netpollarm(pd *pollDesc, mode int) {
throw("runtime: unused")
}
// netpollBreak interrupts an epollwait.
// netpollBreak interrupts a kevent.
func netpollBreak() {
for {
var b byte