github.com/aloncn/graphics-go@v0.0.1/src/runtime/netpoll_stub.go (about)

     1  // Copyright 2013 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build plan9
     6  
     7  package runtime
     8  
     9  // Polls for ready network connections.
    10  // Returns list of goroutines that become runnable.
    11  func netpoll(block bool) (gp *g) {
    12  	// Implementation for platforms that do not support
    13  	// integrated network poller.
    14  	return
    15  }
    16  
    17  func netpollinited() bool {
    18  	return false
    19  }