2013-03-12 21:14:26 +04: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-07-22 12:49:57 +10:00
|
|
|
// +build freebsd netbsd openbsd plan9
|
2013-03-14 10:38:37 +04:00
|
|
|
|
2013-03-12 21:14:26 +04: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;
|
|
|
|
|
}
|