mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
17 lines
421 B
C
17 lines
421 B
C
|
|
// 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.
|
||
|
|
|
||
|
|
#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;
|
||
|
|
}
|