mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: document netpollclose
Document that network poller implementations need to define netpollclose. Change-Id: Idc73dea7cfd503d4de7e1d95902f0f102cf5ed8f Reviewed-on: https://go-review.googlesource.com/c/go/+/297809 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
618b66e16d
commit
437d229e2a
1 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ import (
|
|||
// Arm edge-triggered notifications for fd. The pd argument is to pass
|
||||
// back to netpollready when fd is ready. Return an errno value.
|
||||
//
|
||||
// func netpollclose(fd uintptr) int32
|
||||
// Disable notifications for fd. Return an errno value.
|
||||
//
|
||||
// func netpoll(delta int64) gList
|
||||
// Poll the network. If delta < 0, block indefinitely. If delta == 0,
|
||||
// poll without blocking. If delta > 0, block for up to delta nanoseconds.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue