package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

NewManager returns an initialized futex manager.
NewWaiter returns a new unqueued Waiter.

# Constants

KindPrivate indicates a private futex (a futex syscall with the FUTEX_PRIVATE_FLAG set).
KindSharedMappable indicates a shared futex on a memory mapping other than a private anonymous memory mapping.
KindSharedPrivate indicates a shared futex on a private memory mapping.

# Structs

An AtomicPtr is a pointer to a value of type Value that can be atomically loaded and stored.
Key represents something that a futex waiter may wait on.
Manager holds futex state for a single virtual address space.
Waiter is the struct which gets enqueued into buckets for wake up routines and requeue routines to scan and notify.

# Interfaces

Target abstracts memory accesses and keys.

# Type aliases

KeyKind indicates the type of a Key.