2013-03-12 11:14:26 -06: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-03-15 14:01:56 -06:00
|
|
|
// +build freebsd netbsd openbsd plan9 windows
|
2013-03-14 00:38:37 -06:00
|
|
|
|
2013-03-12 11:14:26 -06:00
|
|
|
#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;
|
|
|
|
}
|