package
1.19.0
Repository: https://github.com/hashicorp/vault.git
Documentation: pkg.go.dev

# Functions

CreateConfigurableRWMutex determines if the specified lock (identifier) should use a deadlock detecting implementation (DeadlockRWMutex) or simply a basic sync.RWMutex instance.
ParseDetectDeadlockConfigParameter takes the detectDeadlockConfigParameter string and transforms it to a lowercase version of the string, then splits it into a slice of strings by interpreting commas as the element delimiters.

# Structs

DeadlockMutex (used when requested via config option `detact_deadlocks`), behaves like a sync.Mutex but does periodic checking to see if outstanding locks and requests look like a deadlock.
DeadlockRWMutex is the RW version of DeadlockMutex.
Regular sync/mutex.
DeadlockRWMutex is the RW version of SyncMutex.

# Interfaces

Common mutex interface to allow either built-in or imported deadlock use.
Common r/w mutex interface to allow either built-in or imported deadlock use.