threadsafe

package
v1.73.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package threadsafe provides a collection of thread-safe functions that can be safely used between multiple goroutines. Check the sub-packages for specific implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

type Locker sync.Locker

Locker is an interface that implements the Lock and Unlock methods.

type RLocker

type RLocker interface {
	RLock()
	RUnlock()
}

RLocker is an interface that implements the RLock and RUnlock methods.

Directories

Path Synopsis
Package tsmap provides a collection of thread-safe map functions that can be safely used between multiple goroutines.
Package tsmap provides a collection of thread-safe map functions that can be safely used between multiple goroutines.
Package tsslice provides a collection of thread-safe slice functions that can be safely used between multiple goroutines.
Package tsslice provides a collection of thread-safe slice functions that can be safely used between multiple goroutines.

Jump to

Keyboard shortcuts

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