aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgo/runtime/netpoll_stub.c
blob: a88c9f5b9c2d4bd1bfb7ece1370818ef70177af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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
runtime_netpoll_scan(void (*addroot)(Obj))
{
	USED(addroot);
}