sync

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubjectLock

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

SubjectLock creates an atomic lock on a specific subject

func NewSubjectLock

func NewSubjectLock() *SubjectLock

func (*SubjectLock) Lock

func (r *SubjectLock) Lock(subject string)

func (*SubjectLock) Unlock

func (r *SubjectLock) Unlock(subject string)

Jump to

Keyboard shortcuts

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