runtime: scan register backing store on ia64
[official-gcc.git] / libgo / go / runtime / netpoll_nacl.go
blobdc5a55ec8469822a9c51d8a3d466f616a041cd48
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.
5 // Fake network poller for NaCl.
6 // Should never be used, because NaCl network connections do not honor "SetNonblock".
8 package runtime
10 func netpollinit() {
13 func netpolldescriptor() uintptr {
14 return ^uintptr(0)
17 func netpollopen(fd uintptr, pd *pollDesc) int32 {
18 return 0
21 func netpollclose(fd uintptr) int32 {
22 return 0
25 func netpollarm(pd *pollDesc, mode int) {
28 func netpoll(block bool) *g {
29 return nil