mirror of https://github.com/golang/go.git
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:
parent
1250a324b4
commit
0c30245996
|
|
@ -128,7 +128,7 @@ func netpollarm(pd *pollDesc, mode int) {
|
|||
unlock(&mtxset)
|
||||
}
|
||||
|
||||
// netpollBreak interrupts an epollwait.
|
||||
// netpollBreak interrupts a poll.
|
||||
func netpollBreak() {
|
||||
netpollwakeup()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue