sync

package
v0.44.0-rc.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyLocker

type KeyLocker[K comparable] struct {
	// contains filtered or unexported fields
}

func NewKeyLocker

func NewKeyLocker[K comparable]() *KeyLocker[K]

func (*KeyLocker[K]) Lock

func (l *KeyLocker[K]) Lock(key K)

func (*KeyLocker[K]) Unlock

func (l *KeyLocker[K]) Unlock(key K)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL