2014-05-21 François Dumont <fdumont@gcc.gnu.org>
[official-gcc.git] / libgo / runtime / netpoll_stub.c
bloba88c9f5b9c2d4bd1bfb7ece1370818ef70177af6
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(void (*addroot)(Obj))
24 USED(addroot);