github.com/eun/go@v0.0.0-20170811110501-92cfd07a6cfd/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  var netpollWaiters uint32
    10  
    11  // Polls for ready network connections.
    12  // Returns list of goroutines that become runnable.
    13  func netpoll(block bool) (gp *g) {
    14  	// Implementation for platforms that do not support
    15  	// integrated network poller.
    16  	return
    17  }
    18  
    19  func netpollinited() bool {
    20  	return false
    21  }