Retro68/gcc/libgo/runtime/netpoll_stub.c

27 lines
583 B
C
Raw Normal View History

2014-09-21 17:33:12 +00:00
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build plan9
#include "runtime.h"
#include "malloc.h"
// Polls for ready network connections.
// Returns list of goroutines that become runnable.
G*
runtime_netpoll(bool block)
{
// Implementation for platforms that do not support
// integrated network poller.
USED(block);
return nil;
}
void
2015-08-28 15:33:40 +00:00
runtime_netpoll_scan(struct Workbuf** wbufp, void (*enqueue1)(struct Workbuf**, Obj))
2014-09-21 17:33:12 +00:00
{
2015-08-28 15:33:40 +00:00
USED(wbufp);
2014-09-21 17:33:12 +00:00
USED(addroot);
}