Versions in this module Expand all Collapse all v1 v1.0.0 Jul 16, 2022 Changes in this version + func FindPotentialDeadlocks() + func SetActivated(enable bool) bool + func SetCollectCallStack(enable bool) bool + func SetCollectSingleLevelLockInformation(enable bool) bool + func SetComprehensiveDetection(enable bool) bool + func SetDoubleLockingDetection(enable bool) bool + func SetMaxCallStackSize(number int) bool + func SetMaxDependencies(number int) bool + func SetMaxNumberOfDependentLocks(number int) bool + func SetMaxRoutines(number int) bool + func SetPeriodicDetection(enable bool) bool + func SetPeriodicDetectionTime(seconds int) bool + type Mutex struct + func NewLock() *Mutex + func (m *Mutex) Lock() + func (m *Mutex) TryLock() bool + func (m *Mutex) Unlock() + type RWMutex struct + func NewRWLock() *RWMutex + func (m *RWMutex) Lock() + func (m *RWMutex) RLock() + func (m *RWMutex) RTryLock() bool + func (m *RWMutex) RUnlock() + func (m *RWMutex) TryLock() bool + func (m *RWMutex) Unlock()