package
0.0.0-20191009041010-964b57cc9e6e
Repository: https://github.com/letsgo-network/netstack.git
Documentation: pkg.go.dev

# Functions

EventMaskFromLinux returns an EventMask representing the supported events from the Linux events e, which is in the format used by poll(2).
NewChannelEntry initializes a new Entry that does a non-blocking write to a struct{} channel when the callback is called.

# Constants

POLLERR.
POLLHUP.
POLLIN.
POLLOUT.
POLLPRI.

# Structs

AlwaysReady implements the Waitable interface but is always ready.
Entry
Entry represents a waiter that can be add to the a wait queue.
Queue represents the wait queue where waiters can be added and notifiers can notify them when events happen.

# Interfaces

EntryCallback provides a notify callback.
Waitable contains the methods that need to be implemented by waitable objects.

# Type aliases

EventMask represents io events as used in the poll() syscall.