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
}
Click to show internal directories.
Click to hide internal directories.