mirror of
https://github.com/golang/go
synced 2024-11-19 22:14:43 -07:00
882f21d6ae
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/2759 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
20 lines
460 B
Go
20 lines
460 B
Go
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build plan9
|
|
|
|
package runtime
|
|
|
|
// Polls for ready network connections.
|
|
// Returns list of goroutines that become runnable.
|
|
func netpoll(block bool) (gp *g) {
|
|
// Implementation for platforms that do not support
|
|
// integrated network poller.
|
|
return
|
|
}
|
|
|
|
func netpollinited() bool {
|
|
return false
|
|
}
|