...
Source file
src/runtime/netpoll_fake.go
Documentation: runtime
1
2
3
4
5
6
7
8
9
10 package runtime
11
12 func netpollinit() {
13 }
14
15 func netpollIsPollDescriptor(fd uintptr) bool {
16 return false
17 }
18
19 func netpollopen(fd uintptr, pd *pollDesc) int32 {
20 return 0
21 }
22
23 func netpollclose(fd uintptr) int32 {
24 return 0
25 }
26
27 func netpollarm(pd *pollDesc, mode int) {
28 }
29
30 func netpollBreak() {
31 }
32
33 func netpoll(delay int64) (gList, int32) {
34 return gList{}, 0
35 }
36
View as plain text