go/src/runtime/netpoll_epoll.go

var epfd

var netpollEventFd

var netpollWakeSig

func netpollinit() {}

func netpollIsPollDescriptor(fd uintptr) bool {}

func netpollopen(fd uintptr, pd *pollDesc) uintptr {}

func netpollclose(fd uintptr) uintptr {}

func netpollarm(pd *pollDesc, mode int) {}

// netpollBreak interrupts an epollwait.
func netpollBreak() {}

// netpoll checks for ready network connections.
// Returns a list of goroutines that become runnable,
// and a delta to add to netpollWaiters.
// This must never return an empty list with a non-zero delta.
//
// delay < 0: blocks indefinitely
// delay == 0: does not block, just polls
// delay > 0: block for up to that many nanoseconds
func netpoll(delay int64) (gList, int32) {}