package
5.0.0+incompatible
Repository: https://github.com/qwenode/tailscale.git
Documentation: pkg.go.dev

# Functions

AssertLocked panics if m is not locked.
AssertRLocked panics if rw is not locked for reading or writing.
AssertWLocked panics if rw is not locked for writing.
ClosedChan returns a channel that's already closed.
NewSemaphore returns a semaphore with resource count n.
NewWaitGroupChan returns a new single-use WaitGroupChan.
Watch monitors mu for contention.

# Structs

AtomicValue is the generic version of atomic.Value.
Semaphore is a counting semaphore.
WaitGroupChan is like a sync.WaitGroup, but has a chan that closes on completion that you can wait on.