locking

package
v0.0.0-...-3d39b65 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvDeadlockDetectionEnabled = "DEADLOCK_DETECTION_ENABLED"
	EnvDeadlockTimeoutSeconds   = "DEADLOCK_TIMEOUT_SECONDS"
	EnvExitOnDeadlock           = "DEADLOCK_EXIT"
	EnvDisableLockOrder         = "DEADLOCK_DISABLE_LOCK_ORDER"
)

Variables

This section is empty.

Functions

func GetDeadlockTimeoutSeconds

func GetDeadlockTimeoutSeconds() int

func IsDeadlockDetected

func IsDeadlockDetected() bool

func IsTrackingEnabled

func IsTrackingEnabled() bool

Types

type Mutex

type Mutex struct {
	godeadlock.Mutex
}

type RWMutex

type RWMutex struct {
	godeadlock.RWMutex
}

Jump to

Keyboard shortcuts

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