package kmutex
import "github.com/containerd/containerd/pkg/kmutex"
Package kmutex provides synchronization primitives to lock/unlock resource by unique key.
Index ¶
Types ¶
type KeyedLocker ¶
KeyedLocker is the interface for acquiring locks based on string.
func New ¶
func New() KeyedLocker
func NewNoop ¶
func NewNoop() KeyedLocker
Source Files ¶
- Version
- v1.7.7
- Published
- Oct 9, 2023
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.