Commit 882f21d6 authored by David du Colombier's avatar David du Colombier

runtime: define netpollinited on Plan 9

Since CL 2750, the build is broken on Plan 9,
because a new function netpollinited was added
and called from findrunnable in proc1.go.
However, netpoll is not implemented on Plan 9.
Thus, we define netpollinited in netpoll_stub.go.

Fixes #9590

Change-Id: I0895607b86cbc7e94c1bfb2def2b1a368a8efbe6
Reviewed-on: https://go-review.googlesource.com/2759Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 3423b7b4
......@@ -13,3 +13,7 @@ func netpoll(block bool) (gp *g) {
// integrated network poller.
return
}
func netpollinited() bool {
return false
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment