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
|
|
@ -24,8 +24,6 @@ const (
|
|||
|
||||
// From <sys/lwp.h>
|
||||
_LWP_DETACHED = 0x00000040
|
||||
|
||||
_EAGAIN = 35
|
||||
)
|
||||
|
||||
type mOS struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue