2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / libgo / runtime / netpoll_stub.c
blob468a610f6f9d42f054dc3d7cbcc540105be33e24
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.
5 // +build plan9
7 #include "runtime.h"
8 #include "malloc.h"
10 // Polls for ready network connections.
11 // Returns list of goroutines that become runnable.
13 runtime_netpoll(bool block)
15 // Implementation for platforms that do not support
16 // integrated network poller.
17 USED(block);
18 return nil;
21 void
22 runtime_netpoll_scan(struct Workbuf** wbufp, void (*enqueue1)(struct Workbuf**, Obj))
24 USED(wbufp);
25 USED(addroot);