package
0.0.0-20220214151720-7585b01ddccf
Repository: https://github.com/inetaf/netstack.git
Documentation: pkg.go.dev
# Functions
NewCond is a wrapper around sync.NewCond.
RaceAcquire has the same semantics as runtime.RaceAcquire.
RaceDisable has the same semantics as runtime.RaceDisable.
RaceEnable has the same semantics as runtime.RaceEnable.
RaceRelease has the same semantics as runtime.RaceRelease.
RaceReleaseMerge has the same semantics as runtime.RaceReleaseMerge.
RaceUncheckedAtomicCompareAndSwapUintptr is equivalent to sync/atomic.CompareAndSwapUintptr, but is not checked by the race detector.
# Constants
RaceEnabled is true if the Go data race detector is enabled.
# Structs
CrossGoroutineRWMutex is equivalent to RWMutex, but it need not be unlocked by a the same goroutine that locked the mutex.
Gate is a synchronization primitive that allows concurrent goroutines to "enter" it as long as it hasn't been closed yet.
NoCopy may be embedded into structs which must not be copied after the first use.
A RWMutex is a reader/writer mutual exclusion lock.
SeqCount is a synchronization primitive for optimistic reader/writer synchronization in cases where readers can work with stale data and therefore do not need to block writers.
# Type aliases
Aliases of standard library types.
Aliases of standard library types.
Aliases of standard library types.
Aliases of standard library types.
Aliases of standard library types.
SeqCountEpoch tracks writer critical sections in a SeqCount.
Aliases of standard library types.