Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mutex ¶
type Mutex struct {
// contains filtered or unexported fields
}
The Mutex type that we export, which wraps sync.Mutex to add tracking of lock hold time and the stack trace of the locker.
type MutexTrack ¶
type MutexTrack struct {
// contains filtered or unexported fields
}
Track a Mutex or RWMutex held in exclusive mode (lockCnt is also used to track the number of shared lockers)
type RWMutex ¶
type RWMutex struct {
// contains filtered or unexported fields
}
The RWMutex type that we export, which wraps sync.RWMutex to add tracking of lock hold time and the stack trace of the locker.
type RWMutexTrack ¶
type RWMutexTrack struct {
// contains filtered or unexported fields
}
Track an RWMutex
func (*RWMutexTrack) DLMUnlockTrack ¶
func (rwmt *RWMutexTrack) DLMUnlockTrack(lck interface{})
func (*RWMutexTrack) LockTrack ¶
func (rwmt *RWMutexTrack) LockTrack(lck interface{})
Direct access to trackedlock API for DLM locks
func (*RWMutexTrack) RLockTrack ¶
func (rwmt *RWMutexTrack) RLockTrack(lck interface{})
func (*RWMutexTrack) RUnlockTrack ¶
func (rwmt *RWMutexTrack) RUnlockTrack(lck interface{})
func (*RWMutexTrack) UnlockTrack ¶
func (rwmt *RWMutexTrack) UnlockTrack(lck interface{})
Click to show internal directories.
Click to hide internal directories.