2013-07-16 08:54:42 +02: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.
|
|
|
|
|
2013-11-06 20:49:01 +01:00
|
|
|
// +build plan9
|
2013-07-16 08:54:42 +02:00
|
|
|
|
|
|
|
#include "runtime.h"
|
2013-11-14 21:15:04 +01:00
|
|
|
#include "malloc.h"
|
2013-07-16 08:54:42 +02:00
|
|
|
|
|
|
|
// 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;
|
|
|
|
}
|
2013-11-14 21:15:04 +01:00
|
|
|
|
|
|
|
void
|
2014-06-07 00:37:27 +02:00
|
|
|
runtime_netpoll_scan(struct Workbuf** wbufp, void (*enqueue1)(struct Workbuf**, Obj))
|
2013-11-14 21:15:04 +01:00
|
|
|
{
|
2014-06-07 00:37:27 +02:00
|
|
|
USED(wbufp);
|
2013-11-14 21:15:04 +01:00
|
|
|
USED(addroot);
|
|
|
|
}
|