package
0.0.0-20250305113347-723568176820
Repository: https://github.com/cilium/proxy.git
Documentation: pkg.go.dev
# Packages
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Cilium.
# Functions
NewSemaphoredMutex returns a new SemaphoredMutex.
NewStoppableWaitGroup returns a new StoppableWaitGroup.
# Structs
Mutex is equivalent to sync.Mutex but applies deadlock detection if the built tag "lockdebug" is set.
MutexDebug is a MutexDebug with deadlock detection regardless of use of the build tag.
RWMutex is equivalent to sync.RWMutex but applies deadlock detection if the built tag "lockdebug" is set.
RWMutexDebug is a RWMutexDebug with deadlock detection regardless of use of the build tag.
SemaphoredMutex is a semaphored mutex that provides a RWLocker interface.
A StoppableWaitGroup waits for a collection of goroutines to finish.