aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/netpoll_kqueue.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2014-06-06 22:37:27 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-06-06 22:37:27 +0000
commit6736ef96eab222e58e6294f42be981a5afb59811 (patch)
tree2bc668fae9bf96f9a3988e0b0a16685bde8c4f0b /libgo/runtime/netpoll_kqueue.c
parent38a138411da4206c53f9a153ee9c3624fce58a52 (diff)
downloadgcc-6736ef96eab222e58e6294f42be981a5afb59811.zip
gcc-6736ef96eab222e58e6294f42be981a5afb59811.tar.gz
gcc-6736ef96eab222e58e6294f42be981a5afb59811.tar.bz2
libgo: Merge to master revision 19184.
The next revision, 19185, renames several runtime files, and will be handled in a separate change. From-SVN: r211328
Diffstat (limited to 'libgo/runtime/netpoll_kqueue.c')
-rw-r--r--libgo/runtime/netpoll_kqueue.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/libgo/runtime/netpoll_kqueue.c b/libgo/runtime/netpoll_kqueue.c
index 5d3f856..bc38644 100644
--- a/libgo/runtime/netpoll_kqueue.c
+++ b/libgo/runtime/netpoll_kqueue.c
@@ -59,6 +59,13 @@ runtime_netpollclose(uintptr fd)
return 0;
}
+void
+runtime_netpollarm(uintptr fd, int32 mode)
+{
+ USED(fd, mode);
+ runtime_throw("unused");
+}
+
// Polls for ready network connections.
// Returns list of goroutines that become runnable.
G*
@@ -104,7 +111,8 @@ retry:
}
void
-runtime_netpoll_scan(void (*addroot)(Obj))
+runtime_netpoll_scan(struct Workbuf** wbufp, void (*enqueue1)(struct Workbuf**, Obj))
{
- USED(addroot);
+ USED(wbufp);
+ USED(enqueue1);
}