github.com/llvm-mirror/llgo@v0.0.0-20190322182713-bf6f0a60fce1/third_party/gofrontend/libgo/runtime/netpoll_stub.c (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  #include "runtime.h"
     8  #include "malloc.h"
     9  
    10  // Polls for ready network connections.
    11  // Returns list of goroutines that become runnable.
    12  G*
    13  runtime_netpoll(bool block)
    14  {
    15  	// Implementation for platforms that do not support
    16  	// integrated network poller.
    17  	USED(block);
    18  	return nil;
    19  }
    20  
    21  void
    22  runtime_netpoll_scan(struct Workbuf** wbufp, void (*enqueue1)(struct Workbuf**, Obj))
    23  {
    24  	USED(wbufp);
    25  	USED(addroot);
    26  }