Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReentrantMutexCheckable ¶
type ReentrantMutexCheckable struct {
// contains filtered or unexported fields
}
just like github.com/AnimusPEXUS/golockercheckable.MutexCheckable: Unlock() on unlocked Mutex - doesn't lead to error
func NewReentrantMutexCheckable ¶
func NewReentrantMutexCheckable(locked bool) *ReentrantMutexCheckable
func (*ReentrantMutexCheckable) IsLocakedByMe ¶
func (self *ReentrantMutexCheckable) IsLocakedByMe() (locked bool, byme bool)
func (*ReentrantMutexCheckable) IsLocked ¶
func (self *ReentrantMutexCheckable) IsLocked() bool
func (*ReentrantMutexCheckable) LocekdByWho ¶
func (self *ReentrantMutexCheckable) LocekdByWho() (locked bool, goid uint64)
func (*ReentrantMutexCheckable) Lock ¶
func (self *ReentrantMutexCheckable) Lock()
func (*ReentrantMutexCheckable) Unlock ¶
func (self *ReentrantMutexCheckable) Unlock()
Click to show internal directories.
Click to hide internal directories.