Dmitriy Vyukov | c211884 | 2013-03-12 21:14:26 +0400 | [diff] [blame] | 1 | // Copyright 2013 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Mikio Hara | e82614e | 2013-08-20 16:57:30 +0900 | [diff] [blame] | 5 | // +build plan9 |
Dmitriy Vyukov | 0bee99a | 2013-03-14 10:38:37 +0400 | [diff] [blame] | 6 | |
David du Colombier | e9c57d8 | 2014-11-21 19:39:01 +0100 | [diff] [blame] | 7 | package runtime |
Dmitriy Vyukov | c211884 | 2013-03-12 21:14:26 +0400 | [diff] [blame] | 8 | |
| 9 | // Polls for ready network connections. |
| 10 | // Returns list of goroutines that become runnable. |
David du Colombier | e9c57d8 | 2014-11-21 19:39:01 +0100 | [diff] [blame] | 11 | func netpoll(block bool) (gp *g) { |
Dmitriy Vyukov | c211884 | 2013-03-12 21:14:26 +0400 | [diff] [blame] | 12 | // Implementation for platforms that do not support |
| 13 | // integrated network poller. |
David du Colombier | e9c57d8 | 2014-11-21 19:39:01 +0100 | [diff] [blame] | 14 | return |
Dmitriy Vyukov | c211884 | 2013-03-12 21:14:26 +0400 | [diff] [blame] | 15 | } |
David du Colombier | 882f21d | 2015-01-14 22:20:03 +0100 | [diff] [blame] | 16 | |
| 17 | func netpollinited() bool { |
| 18 | return false |
| 19 | } |