locking

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const EnvDeadlockDetectionEnabled = "DEADLOCK_DETECTION_ENABLED"
View Source
const EnvDeadlockTimeoutSeconds = "DEADLOCK_TIMEOUT_SECONDS"
View Source
const EnvExitOnDeadlock = "DEADLOCK_EXIT"

Variables

This section is empty.

Functions

func GetDeadlockTimeoutSeconds

func GetDeadlockTimeoutSeconds() int

func IsDeadlockDetected

func IsDeadlockDetected() bool

func IsTrackingEnabled

func IsTrackingEnabled() bool

func SetTrackingEnabled

func SetTrackingEnabled(enabled 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