syncs

package
v0.16.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package syncs provides synchronization primitives and utilities.

This package implements concurrency control mechanisms and synchronization primitives to facilitate safe concurrent operations throughout the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyLock

type KeyLock struct {
	// contains filtered or unexported fields
}

func NewKeyLock

func NewKeyLock() *KeyLock

func (*KeyLock) Lock

func (l *KeyLock) Lock(key string)

func (*KeyLock) RLock

func (l *KeyLock) RLock(key string)

func (*KeyLock) RUnlock

func (l *KeyLock) RUnlock(key string)

func (*KeyLock) Unlock

func (l *KeyLock) Unlock(key string)

Jump to

Keyboard shortcuts

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