mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: add netpollBreak
The new netpollBreak function can be used to interrupt a blocking netpoll. This function is not currently used; it will be used by later CLs. Updates #27707 Change-Id: I5cb936609ba13c3c127ea1368a49194fc58c9f4d Reviewed-on: https://go-review.googlesource.com/c/go/+/171824 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
33425ab8db
commit
50f4896b72
34 changed files with 322 additions and 53 deletions
|
|
@ -35,6 +35,9 @@ var Atoi = atoi
|
|||
var Atoi32 = atoi32
|
||||
|
||||
var Nanotime = nanotime
|
||||
var Netpoll = netpoll
|
||||
var NetpollBreak = netpollBreak
|
||||
var Usleep = usleep
|
||||
|
||||
var PhysHugePageSize = physHugePageSize
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue