mirror of
https://github.com/golang/go
synced 2024-11-26 05:48:05 -07: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
@ -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…
Reference in New Issue
Block a user