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.6.10
- Published
- Nov 14, 2022
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.