github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/poll.go (about) 1 package runtime 2 3 // This file implements stub functions for internal/poll. 4 5 //go:linkname poll_runtime_pollServerInit internal/poll.runtime_pollServerInit 6 func poll_runtime_pollServerInit() { 7 panic("todo: runtime_pollServerInit") 8 } 9 10 //go:linkname poll_runtime_pollOpen internal/poll.runtime_pollOpen 11 func poll_runtime_pollOpen(fd uintptr) (uintptr, int) { 12 panic("todo: runtime_pollOpen") 13 } 14 15 //go:linkname poll_runtime_pollClose internal/poll.runtime_pollClose 16 func poll_runtime_pollClose(ctx uintptr) { 17 panic("todo: runtime_pollClose") 18 } 19 20 //go:linkname poll_runtime_pollUnblock internal/poll.runtime_pollUnblock 21 func poll_runtime_pollUnblock(ctx uintptr) { 22 panic("todo: runtime_pollUnblock") 23 }