summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/netpoll_stub.c
blob: 39d19a4cea40ab40b4059c0cc6d7b821dbf4fcb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 freebsd netbsd openbsd plan9 windows

#include "runtime.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;
}